BBR fails with "Deployment cf -xxxx has no backup scripts"
search cancel

BBR fails with "Deployment cf -xxxx has no backup scripts"

book

Article ID: 381318

calendar_today

Updated On:

Products

VMware Tanzu Application Service

Issue/Introduction

When attempting to run a backup of the CF deployment in TAS using BBR, it fails with the following error:

1 error occurred:
error 1:
Deployment 'cf-xxx' has no backup scripts
github.com/cloudfoundry-incubator/bosh-backup-and-restore/orchestrator.(*BackupableStep).Run
        /tmp/build/8a81cdd6/bosh-backup-and-restore/orchestrator/backupable_step.go:21
github.com/cloudfoundry-incubator/bosh-backup-and-restore/orchestrator.(*Workflow).Run
        /tmp/build/8a81cdd6/bosh-backup-and-restore/orchestrator/workflow.go:17
github.com/cloudfoundry-incubator/bosh-backup-and-restore/orchestrator.Backuper.Backup
        /tmp/build/8a81cdd6/bosh-backup-and-restore/orchestrator/backuper.go:63
github.com/cloudfoundry-incubator/bosh-backup-and-restore/cli/command.backupSingleDeployment
        /tmp/build/8a81cdd6/bosh-backup-and-restore/cli/command/deployment_backup.go:131
github.com/cloudfoundry-incubator/bosh-backup-and-restore/cli/command.DeploymentBackupCommand.Action
        /tmp/build/8a81cdd6/bosh-backup-and-restore/cli/command/deployment_backup.go:60
github.com/urfave/cli.HandleAction
        /root/go/pkg/mod/github.com/urfave/[email protected]/app.go:524
github.com/urfave/cli.Command.Run
        /root/go/pkg/mod/github.com/urfave/[email protected]/command.go:175
github.com/urfave/cli.(*App).RunAsSubcommand
        /root/go/pkg/mod/github.com/urfave/[email protected]/app.go:405
github.com/urfave/cli.Command.startApp
        /root/go/pkg/mod/github.com/urfave/[email protected]/command.go:380
github.com/urfave/cli.Command.Run
        /root/go/pkg/mod/github.com/urfave/[email protected]/command.go:103
github.com/urfave/cli.(*App).Run
        /root/go/pkg/mod/github.com/urfave/[email protected]/app.go:277
main.main
        /tmp/build/8a81cdd6/bosh-backup-and-restore/cmd/bbr/main.go:73
runtime.main
        /usr/local/go/src/runtime/proc.go:271
runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:1695

Environment

TAS environments

Resolution

This error occurs if your CF deployment is missing the backup_restore VM. Please ensure this instance is set to at least 1 in the Ops Manager UI -> TAS tile -> Resource Config.

Please also ensure this VM is in a running state with bosh -d <cf_deployment> vms