Backing Up and Restoring Pivotal Cloud Foundry
Page last updated:
Consider the following when backing up data in your Pivotal Cloud Foundry (PCF) deployment:
If your deployment uses external databases, such as Amazon Web Services (AWS) RDS, you must back up your data according to the instructions provided by your database vendor.
If your PCF deployment originated from 1.5.x or earlier, follow the backup/restore instructions for PostgreSQL databases and for the MySQL server.
If your PCF deployment originated from 1.6.0 or later, follow the backup/restore instructions for the MySQL server, but not those for PostgreSQL databases.
If you do not know the original version of your PCF deployment, perform the following to determine what databases your deployment uses:
- From the Ops Manager Installation Dashboard, click Pivotal Elastic Runtime.
- Click Databases to determine whether your deployment uses internal databases with MySQL and PostgresQL, internal databases with MySQL only, or external databases.
To perform a backup of your PCF deployment manually, see Backing Up Pivotal Cloud Foundry Manually.
To restore your PCF deployment manually, see Restoring Pivotal Cloud Foundry from Backup Manually.
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 more information about personal data that may be stored in PCF, see General Data Protection Regulation.
BOSH Backup and Restore (BBR) is a command-line tool for backing up and restoring BOSH deployments.
Note: You can only use BBR to back up PCF v1.11 and later. BBR is a feature in PCF v1.11.
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 use BBR to back up and restore your PCF deployment, you must first set up a jumpbox to run BBR from. See Setting Up Your Jumpbox for BBR.
To troubleshoot problems with BBR, see Troubleshooting BBR.