Restoring from Backup
Restoring Cerberus data is made easy through RDS snapshots and CloudFormation parameters.
Restore to an Existing Cerberus Environment
In the AWS Console:
- Navigate to Services -> RDS -> Snapshots
- Type the Cerberus environment name into the snapshot filter search bar (e.g. test)
- Click the link for the desired snapshot
- On the snapshot details page, copy the DB snapshot name
- Navigate to Services -> CloudFormation
- Type the Cerberus environment name into the CloudFormation Stack filter search bar (e.g. test)
- Select the database stack (e.g. ENV-cerberus-database)
- Click the Actions dropdown and select Update Stack
- Make sure Use current template is selected, then click Next
- On the Specify Details page, paste the copied DB snapshot name into the ‘snapshotIdentifier’ field
- Click Next
- Click Next again
- Click Update
Restore to a New Cerberus Environment
Add the following to the Cerberus ‘environment.yaml’ before creating the environment:
region-specific-configuration:
us-west-2:
primary: true
rds:
size: db.r3.large
# To create a new environment from a rds backup snapshot uncomment below and supply the db cluster snapshot identifier
db-cluster-identifier: foo-bar
Next, follow instructions on Creating a Cerberus Environment.