forked from docs/doc-exports
Reviewed-by: Boka, Ladislav <ladislav.boka@t-systems.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
7.2 KiB
7.2 KiB
Restoring a Replica Set Instance from a Backup
Scenarios
This section describes how to restore a replica set instance from a backup.
Restoration Precautions
- 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
- Log in to the DDS console.
- On the Instance Management page, click the target replica set instance.
- In the navigation pane on the left, click Backups & Restorations.
- On the Backups & Restorations page, locate the target backup and click Restore in the Operation column.
- Select either of the following restoration methods 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.
- 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 have default values and can be modified. For details, see section Creating a Replica Set Instance.
- Restore to Original
- Create New Instance
Method 2
- Log in to the DDS console.
- In the navigation pane on the left, click Backup Management.
- On the Backup Management page, locate the target backup on the Replica Sets tab and click Restore in the Operation column.
- If you use an automated backup, go to 4.
- If you use a manual backup, check whether the original instance of the manual backup exists:
- If yes, go to 4.
- If no, you can only restore the backup to a new DB instance. Go to Create New Instance step under Step 4.
- Select either of the following restoration methods 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.
- 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 have default values and can be modified. For details, see section Creating a Replica Set Instance.
- Restore to Original
- Create New Instance
Parent topic: Backup and Restore