This topic describes how to back up, restore, roll back, and rename data in the EMAS Serverless cloud database.
Backups
EMAS Serverless automatically backs up your cloud database daily at midnight and retains backups from the last seven days. Manual backups are not supported.
Restore
This section uses the test collection as an example to describe how to restore a collection to a specific point in time.
Roll back the original test collection to a new collection named test_bak. For more information, see Rollback.
Delete the original test collection.
Check and modify the access policy of the new test_bak collection.
Rename the new test_bak collection to test. For more information, see Rename a collection.
Verify that the access policy for the new test collection is correct.
Rollback
On the Cloud Database management page, click the
icon.On the Create Rollback page that appears, select a Rollback Time. Select one or more collections to roll back. To the right of each collection, confirm the new Collection Name. Click OK at the bottom of the page.
ImportantThe Available Rollback Times are the start times of the scheduled backup jobs, not the exact times of the database snapshots. This is because the backup process takes time.
After a successful rollback, the message Rollback job executed successfully is displayed.
Rename a collection
Hover your mouse pointer over the collection name and click the
icon.Enter a new name for the collection and click OK.
NoteThe new collection name cannot be the same as an existing collection name.
The access policy of the collection remains unchanged after it is renamed. Check the access policy before and after renaming the collection to ensure that it is correct.