• Document Database Service

dds
  1. Help Center
  2. Document Database Service
  3. User Guide
  4. Managing DDS DB Instances
  5. Backup and Restore
  6. Restoring a Cluster Instance from a Backup

Restoring a Cluster Instance from a Backup

Scenarios

This section guides you on how to restore a DB instance from a backup.

NOTE:

Currently, DDS only supports restoring backups to a new DB instance.

Method 1

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click Service List. Under Database, click Document Database Service.
  4. On the Instance Management page, locate the target DB instance on the Clusters tab and click its name.
  5. On the Backups & Restorations tab, locate the target backup in the backup list and click Restore in the Operation column. In the displayed dialog box, click OK.
  6. On the displayed page, create a DB instance using the same configurations as the backup. 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, improving data reliability.
    • 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 quantity of mongos is 2 by default and ranges from 2 to 12. You can specify the quantity.
    • The storage space is the same as that of the original instance by default. You can only increase the storage space.
    • Other settings are the same as those of the original DB instance by default, but they can be modified. For details, see section Creating a Cluster Instance.

Method 2

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click Service List. Under Database, click Document Database Service.
  4. On the Backup Management page, locate the backup to restore on the Clusters tab and click Restore in the Operation column. In the displayed dialog box, click OK.
  5. On the displayed page, create a DB instance using the same configurations as the backup. 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, improving data reliability.
    • 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 quantity of mongos is 2 by default and ranges from 2 to 12. You can specify the quantity.
    • The storage space is the same as that of the original instance by default. You can only increase the storage space.
    • Other settings are the same as those of the original DB instance by default, but they can be modified. For details, see section Creating a Cluster Instance.