• 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 Replica Set Instance from a Backup

Restoring a Replica Set Instance from a Backup

Scenarios

This section guides you on how to restore a replica set 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, click the Replica Sets tab, locate the target DB instance, 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, and storage type must be the same as those of the original and cannot be changed.
    • 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 Replica Set 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, click the Replica Sets tab, locate the backup to restore, 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, and storage type must be the same as those of the original and cannot be changed.
    • 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 Replica Set Instance.