How do I restore a backup with the API?
curl -X POST $CB/v1/backups/BACKUP_ID/restore \
-H "Authorization: Bearer $CLATTER_API_KEY" -H "X-Clatter-Account: $CLATTER_ACCOUNT_ID"
Restoring:
- puts the backup's code tree back as a new version. The version you had stays reachable by its ref, so a restore never destroys work;
- brings back stored objects from the backup that were deleted since;
- by default keeps objects added after the backup.
A backup.restored event records what happened. Restoring is free and unlimited.
Learn more#
Related articles
Still need help?
Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyzFor deleting your whole account or the data of one service.