bbr-postgres-db job from postgres/32
This sample job must be collocated with the postgres job since leverages local db connections.
Github source:
3ab829a1 or
master branch
Properties¶
postgres¶
client_certificate¶Client certificate. Specify it if you want to auhtenticate using certificates.
- Default
""
client_certificate_key¶Secret key used for the client certificate. Specify it if you want to auhtenticate using certificates.
- Default
""
dbuser¶Database user to run backup and restore
- Default
vcap
ssl_verify_hostname¶If postgres is configured with a ca, setting this to ‘true’ changes sslmode to ‘verify-full’ rather than ‘verify-ca’.
- Default
true
release_level_backup¶
Include postgres in backup and restore operations
- 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/bbr-postgres-db/ directory
(learn more).
bin/bbr/backup(frombackup.sh.erb)bin/bbr/restore(fromrestore.sh.erb)config/ca_cert(fromca_cert.erb)config/client_certificate(fromclient_certificate.erb)config/client_certificate_key(fromclient_certificate_key.erb)config/config.sh(fromconfig.sh.erb)config/pgpass(frompgpass.erb)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/ directory.