Skip to content

gcs-blobstore-backup-restorer job from backup-and-restore-sdk/1.19.22

Github source: 8558b275 or master branch

Properties

bpm

enabled

use bpm to run gcs backup and restore scripts

Default
false

buckets

Hash of buckets to backup/restore to

Default
{}
Example
|-
  droplets:
    bucket_name: "the_droplets_bucket"
    backup_bucket_name: "the_droplets_backup_bucket"

enabled

Enable backup and restore scripts in this job

Default
false

gcp_service_account_key

GCP service account key JSON

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/gcs-blobstore-backup-restorer/ directory (learn more).

  • bin/bbr/backup (from backup.erb)
  • bin/bbr/metadata (from metadata.erb)
  • bin/bbr/restore (from restore.erb)
  • config/bpm.yml (from bpm.yml.erb)
  • config/buckets.json (from buckets.json.erb)
  • config/gcp-service-account-key.json (from gcp-service-account-key.json.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.