BBR PCF Pipeline Tasks
This is a collection of Concourse tasks for backing up a Pivotal Cloud Foundry installation using bbr.
Running regular backups (at least every 24 hours) and storing multiple copies of backup artifacts in different datacenters is highly recommended. The time Concourse resource can be added to the pipeline to trigger backups regularly. There are a variety of storage resources such as S3 that can be used to move backups to storage. A list of Concourse resources can be found here.
Tasks
export-om-installation
Inputs
bbr-pipeline-tasks-repo
: this repository
Outputs
om-installation
: a directory containing a installation.zip generated by exporting the Operations Manager installation.
Params
SKIP_SSL_VALIDATION
: if true, ssl validation will be skipped. Defaults to falseOPSMAN_URL
: The OpsManager URLOPSMAN_USERNAME
: The OpsManager usernameOPSMAN_PASSWORD
: The OpsManager password
bbr-backup-ert
N.B.: the pipeline assumes you have a tagged concourse worker deployed on the same network as ERT, i.e., the pipeline will use the concourse worker as the jumpbox. Ensure that this worker has enough disk space to accommodate the ERT backup files.
Inputs:
bbr-pipeline-tasks-repo
: this repositorybinary
: a directory containing a executablebbr
file
Outputs
ert-backup-artifact
: a directory containing ert-backup.tar generated by backing up ERT.
Params
SKIP_SSL_VALIDATION
: if true, ssl validation will be skipped. Defaults to falseOPSMAN_URL
: The OpsManager URLOPSMAN_USERNAME
: The OpsManager usernameOPSMAN_PASSWORD
: The OpsManager password
bbr-backup-director
N.B.: the pipeline assumes you have a tagged concourse worker deployed on the same network as the Director, i.e., the pipeline will use the concourse worker as the jumpbox. Ensure that this worker has enough disk space to accommodate the Director backup files.
Inputs:
bbr-pipeline-tasks-repo
: this repositorybinary
: a directory containing a executablebbr
file
Outputs
director-backup-artifact
: a directory containing director-backup.tar generated by backing up the Director.
Params
SKIP_SSL_VALIDATION
: if true, ssl validation will be skipped. Defaults to falseOPSMAN_URL
: The OpsManager URLOPSMAN_USERNAME
: The OpsManager usernameOPSMAN_PASSWORD
: The OpsManager password
Example pipeline
You can set the example pipeline with fly:
cp secrets.sample.yml secrets.yml
# update secrets.yml with real secrets
fly --target <target> \
set-pipeline \
--pipeline bbr-pipeline \
--config pipeline.sample.yml \
--load-vars-from secret.yml