Help Center> Document Database Service> User Guide> Backup and Restore> Restoring a Single Node Instance from a Backup

Restoring a Single Node Instance from a Backup

Scenarios

This section describes how to restore a single node instance from a backup.

Restoration Precautions

  • Currently, a single node instance can be restored only to a new or original instance.
  • When you restore the DB instance from a backup file, a full backup file is downloaded from OBS and then restored to the DB instance at an average speed of 40 MB/s.

Method 1

  1. Log in to the DDS console.
  2. On the Instance Management page, click the target single node instance.
  3. In the navigation pane on the left, click Backups & Restorations.
  4. On the Backups & Restorations page, locate the target backup and click Restore in the Operation column.
  5. In the displayed window, select a restoration mode and click OK.

    • Create New Instance

      The Create New Instance page is displayed for you to create a DB 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, 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 and can be modified. For details, see Buying a Single Node Instance.
    • Restore to Original
      • Restoring to the original DB instance will overwrite all existing data and the DB instance will be temporarily unavailable during the restoration.
      • The administrator password of the database instance remains unchanged after the restoration.
      • If the backup method is logical backup, the backup cannot be restored to the original instance.

      Check that the status of the DB instance on the Instance Management page is Restoring.

  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.
    • 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 and can be modified. For details, see Buying a Single Node Instance.

Method 2

  1. Log in to the DDS console.
  2. In the navigation pane on the left, click Backup Management.
  3. On the Backup Management page, locate the target backup on the Single Nodes tab and click Restore in the Operation column.
  4. In the displayed window, select a restoration mode and click OK.

    • Create New Instance

      The Create New Instance page is displayed for you to create a DB 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, 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 and can be modified. For details, see Buying a Single Node Instance.
    • Restore to Original
      • Restoring to the original DB instance will overwrite all existing data and the DB instance will be temporarily unavailable during the restoration.
      • The administrator password of the database instance remains unchanged after the restoration.
      • If the backup method is logical backup, the backup cannot be restored to the original instance.

      Check that the status of the DB instance on the Instance Management page is Restoring.