Skip to content

boshdb_backup job from postgres-backup/3

Github source: 9ce53057 or master branch

Properties

boshdb_backup

cron_duration

Number of Hours on which backup should be done

Default
4

keep_duration

Number of last n backups to be stored on local disk

Default
3

postgres

database

Default Postgres database (it will be created during the startup process)

Default
bosh

listen_address

IP address Postgres listens on

Default
0.0.0.0

password

Password clients must use to access Postgres

port

TCP port Postgres listens on

Default
5432

user

Username clients must use to access Postgres

Default
bosh

Templates

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

  • bin/boshdb_backup_ctl (from bin/boshdb_backup_ctl.erb)
  • bin/db_backup (from bin/db_backup.erb)
  • config/backup-db.cron (from config/backup-db.cron)

Packages

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

This job relies on no runtime packages.