Skip to content

s3-versioned-blobstore-backup-restorer job from backup-and-restore-sdk/1.18.16

Github source: 123fcc24 or master branch

Properties

bpm

enabled

Enable Bosh Process Manager

Default
false

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
    use_iam_profile: false # only set to true if using AWS IAM instance profile to connect to the bucket instead of AWS access keys

enabled

Enable backup and restore scripts in this job

Default
false

force_path_style

Use path-style access for S3 buckets

Default
true

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-versioned-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)

Packages

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