Changelog

Restore Database Backups across Environments

Thomas Orozco on September 29, 2017

Database Backups can now be restored across different Environments on Enclave. This change lets you easily support workflows that involve restoring backups of production data for analytics or investigation into lower-privileged environments.

To use it, add the --environment flag when running aptible backup:restore:

1
aptible backup:restore "$BACKUP_ID" --environment "$ENVIRONMENT_HANDLE"

To make sure you don’t accidentally transfer sensitive or regulated data to a non-compliant development environment, this feature ships with an important safeguard: while Backups can be restored across Environments, they cannot be restored across Stacks.

For example, this means data that was stored in a production PHI-ready environment can’t accidentally be restored into a non-PHI-ready development environment.