Aptible logo
Sign up for free
Alex Kubacki
Alex Kubacki
September 29, 2017

Restore Database Backups across Environments

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:

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.