You can restore your environments to a previous point in time using the restore backup feature.
When backup is restored, the data and code from the backup are written to the target environment to ensure a previous consistent working state of the project.
Note that the latest code in your repository may have been modified in such a way that it no longer works correctly with the old, restored data.
- List backups:
gives a response:platform backups
Backups on the project My Project (1234567abcdef), environment main (type: production): +---------------------------+----------------------------+------------+ | Created | Backup ID | Restorable | +---------------------------+----------------------------+------------+ | 2022-08-15T09:48:58+01:00 | 5ouvtgo4v75axijww7sqnftste | true | | 2022-07-09T14:17:17+01:00 | 7jks7dru5xpx5p5id5wtypur2y | true | | 2022-06-22T18:33:29+01:00 | f3jbyxlhtmalco67fmfoxs7n4m | true | +---------------------------+----------------------------+------------+
- Restore backup:
- To the same environment:
- To a different environment:platform backup:restore BACKUP_ID
platform backup:restore --target=TARGET_BRANCH_NAME BACKUP_ID
For detailed information and steps, please check Documentation on how to restore an environment from a backup.