Articles in this section

How to restore a backup

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.

  1. List backups:
    platform backups
    gives a response:
    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       |
    +---------------------------+----------------------------+------------+
  2. Restore backup:
    - To the same environment:
    platform backup:restore BACKUP_ID
    - To a different environment:
    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.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.