Backing Up and Restoring Pivotal Cloud Foundry
Consider the following when backing up data in your Pivotal Cloud Foundry (PCF) deployment:
If your deployment uses external databases, check that it is a supported database configuration.
If your PCF deployment uses internal databases, follow the backup and restore instructions for the MySQL server included in the BBR documentation.
The General Data Protection Regulation (GDPR) came into effect on May 25, 2018 and impacts any company processing the data of EU citizens or residents, even if the company is not EU-based. The GDPR sets forth how companies should handle privacy issues, securely store data, and respond to security breaches.
Backup artifacts may contain personal data covered by GDPR. For example, a backup of a PAS could contain a user email. For further information regarding personal data that may be stored in PCF, see here.
BOSH Backup and Restore (BBR) is a command-line tool for backing up and restoring BOSH deployments.
To perform a backup of your PCF deployment with BBR, see Backing Up Pivotal Cloud Foundry with BBR.
To restore your PCF deployment with BBR, see Restoring Pivotal Cloud Foundry from Backup with BBR.
To troubleshoot problems with BBR, see Troubleshooting BBR.
There are many different restore cases that can arise with BOSH Directors and PCF deployments. We have provided some guidance on how to use BBR in common restore scenarios below:
- Restoring Lost BOSH Director Persistent Disk
- Restoring Lost PAS Data
- Recovering from an Ops Manager and PAS Upgrade Failure
These guides do not cover all possible restore scenarios. If you encounter another restore case, then some information in these guides may be applicable. Contact Pivotal Support for guidance.