This article discusses how to set up a custom jumpbox for use with BOSH Backup and Restore (BBR).
You can use BBR to back up the BOSH Director, Tanzu Application Service (TAS), and TKGI.
For more information about using BBR to back up the BOSH Director and TAS, see Backing Up and Restoring Ops Manager deployments with BBR. For more information about using BBR to back up TKGI, see Backing Up and Restoring TKGI.
Configure your custom jumpbox to meet the following requirements:
Consult the following table for more information about the network access permissions required by BBR.
VM | Default Port | Description |
---|---|---|
BOSH Director | 25555 | BBR interacts with the BOSH Director API. |
Deployed Instances | 22 | BBR uses SSH to orchestrate the backup on the instances. |
BOSH Director UAA | 8443 | BBR interacts with the UAA API for authentication, if necessary. |
Perform the following steps to transfer the bbr binary to your jumpbox:
1. Download the latest BOSH Backup and Restore release from Broadcom Network.
2. Extract the bbr binary file from the BBR release.
3. On a command line, run the following command to add executable permissions to the bbr binary file:
chmod a+x bbr
4. To securely copy the BBR binary to your jumpbox, run the following command, replacing the placeholders with the correct values:
rsync -Pv -e "ssh -i LOCAL-PATH-TO-JUMPBOX-PRIVATE-KEY" LOCAL-PATH-TO-BBR-BINARY JUMPBOX-USER@JUMPBOX-ADDRESS:
If the certificate chain on your local machine cannot verify the Certificate Authority (CA) certificate for the BOSH Director.
Note: You must have the path to the root CA certificate to run BBR commands.
Perform the following steps:
1.Perform the procedures in the Using the Ops Manager API topic to obtain a UAA-ACCESS-TOKEN using the UAA CLI.
2. If you do not have the open-source jq utility, download it and place it in your $PATH.
3. Use the Ops Manager API to download the CA certificate for the BOSH Director by running the following command, replacing the placeholders with the correct values:
curl -k "https://OPSMAN-IP/api/v0/security/root_ca_certificate" \
-H "Authorization: Bearer UAA-ACCESS-TOKEN" \
| jq --raw-output '.root_ca_certificate_pem' > PATH-TO-BOSH-SERVER-CERTIFICATE
After configuring your custom jumpbox, consult the documentation for using BBR to back up your components.
For more information about using BBR to back up the BOSH Director and PAS, see Backing Up and Restoring Ops Manager deployments with BBR.
For more information about using BBR to back up PKS, see Backing Up and Restoring TKGI.