1. List available backups
To restore an environment, first select one of the available backups:- Using the CLI
- In the Console
Run the following command:You get a response similar to the following:Select one of the backups marked as Restorable and copy its Backup ID.
2. Restore from a backup
To restore the backup you’ve selected, follow these steps:- Using the CLI
- In the Console
-
Run the following command:
-
Press
enterto agree with the consequences and continue.
Restore to a different environment
You can restore backups to a different environment than they were created on using the CLI:- Switch to the branch where the backup was created.
-
To restore your backup to an existing environment, run the following command:
If your target environment doesn’t exist yet, you can create it by branching an existing environment. The new target environment will be an exact copy of the existing (parent) environment. To do so, use the
--branch-fromoption to specify the parent of your new target environment: