Cloud database backup and recovery

更新时间:
复制 MD 格式

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.

  1. Roll back the original test collection to a new collection named test_bak. For more information, see Rollback.

  2. Delete the original test collection.

  3. Check and modify the access policy of the new test_bak collection.

  4. Rename the new test_bak collection to test. For more information, see Rename a collection.

  5. Verify that the access policy for the new test collection is correct.

Rollback

  1. On the Cloud Database management page, click the restore icon.

  2. 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.

    Important

    The 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

  1. Hover your mouse pointer over the collection name and click the 编辑 icon.

  2. Enter a new name for the collection and click OK.

    Note
    • The 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.