Skip to content

s3-unversioned-blobstore-backup-restorer job from backup-and-restore-sdk/1.6.0

Github source: f204c5b or master branch

Properties

buckets

Hash of buckets to backup/restore to

Default
{}
Example
|+
  droplets:
    name: "the_droplets_bucket"
    region: "eu-west-1"
    aws_access_key_id: "AWS_ACCESS_KEY_ID"
    aws_secret_access_key: "AWS_SECRET_ACCESS_KEY"
    endpoint: "endpoint_to_s3_compatible_blobstore" # only configure if connecting to non-aws s3-compatible blobstore. e.g. ecs
    backup:
      name: "the_backup_droplets_bucket"
      region: "eu-west-2"

enabled

Enable backup and restore scripts in this job

Default
false

Templates

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

  • bin/bbr/backup (from backup.erb)
  • bin/bbr/restore (from restore.erb)
  • config/buckets.json (from buckets.json.erb)

Packages

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