Skip to content

cfdb_backup job from postgres-backup/3

Github source: 9ce53057 or master branch

Properties

cfdb_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

databases

address

The database address

databases

A list of databases and associated properties to create

db_scheme

The database scheme

port

The database port

roles

A list of database roles and associated properties to create

Templates

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

  • bin/cfdb_backup_ctl (from bin/cfdb_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.