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:

    1. From the Ops Manager Installation Dashboard, click Pivotal Elastic Runtime.
    2. Click Databases to determine whether your deployment uses internal databases with MySQL and PostgresQL, internal databases with MySQL only, or external databases. Db location

Backup and Restore Manually

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.

Backup and Restore with BBR (Beta)

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 use BBR to restore an Elastic Runtime deployment to a backup from a previous version, see Rolling Back ERT Deployment to an Earlier Backup with BBR.

To troubleshoot problems with BBR, see Troubleshooting BBR.

Create a pull request or raise an issue on the source for this page in GitHub