Restoring from a BBR Backup
This topic describes how to restore your Concourse pipelines from a Bosh Backup and Restore (BBR) backup. Reasons to restore Concourse from a backup include:
- Something went wrong with your Concourse pipelines
- You want to validate that a backup works
Procedure
-
Run the
bbr deployment restore
command:Where:1 2 3 4
bbr deployment \ --deployment TARGET-CONCOURSE \ restore \ --artifact-path PATH-TO-BACKUP
TARGET-CONCOURSE
is your target deployment, andPATH-TO-BACKUP
is the path to the backup directory you wish to restore from.
-
Make sure that you are running the same version of Concourse that your backup was created from.
-
Run the following command to verify that the state of your pipelines has been restored:
Where1
fly -t TARGET-CONCOURSE pipelines
TARGET-CONCOURSE
is your target deployment.
Troubleshooting
Broken git Resources
Symptom: After a restore, git repository resources appear broken with an error like this:
1 |
|
fly set-pipeline
.