Updated on 2024-04-01 GMT+08:00

Restoring a Cluster Backup to a New Instance

DDS allows you to restore an existing automated or manual backup to a new instance. The restored data is the same as the backup data.

When you restore an instance from a backup file, a full backup file is downloaded from OBS and then restored to the instance at an average speed of 40 MB/s.

Precautions

To restore backup files to a new instance, your account balance must be greater than or equal to $0 USD. You will pay for the new instance specifications.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Document Database Service.
  4. On the Instances page, click the cluster instance name. Choose Backups & Restorations in the navigation pane, select the backup to be restored, and click Restore.

    Figure 1 Restoring a cluster from a backup

    Alternatively, on the navigation pane on the left, choose Backups. On the Backups page, locate the target backup on the Clusters tab and click Restore in the Operation column.

    Figure 2 Restoring a cluster from a backup

  5. In the Restore DB Instance dialog box, select Create New Instance for Restoration Method and click OK.

    Figure 3 Restoring a cluster backup to a new instance

  6. The Create New Instance page is displayed for you to create an instance using the backup data. The new DB instance is independent from the original one.

    • You are recommended to deploy the restored DB instance in a different AZ to ensure that applications will not be adversely affected by the failure in any single AZ.
    • The database type, DB instance type, compatible MongoDB version, storage engine, storage type, and shard quantity must be the same as those of the original and cannot be changed.
    • The number of dds mongos nodes is 2 by default and ranges from 2 to 16. You can specify the quantity.
    • The storage space is the same as that of the original shard node by default. You can increase the storage space, but you cannot reduce it.
    • Other settings are the same as those of the original DB instance by default and can be modified. For details, see Buying a Cluster Instance.
    • A full backup is triggered after the new instance is created.