Operation scenarios
When the backup business instance data needs to be restored, you can perform a clone operation to clone the data into a new and independent database instance based on existing backup files. Application scenarios include:
Historical data analysis: Instance cloning can be used for data query and analysis, eliminating the risk of interference with online business performance.
Production instance rollback/replacement: Through IP address switch, the clone instance can be switched to the new production instance rapidly, avoiding the complexity of manually restoring data one by one.
Prerequisites
The TencentDB for MongoDB Replica Set Instance or Sharded Instance is in Running status.
The automatic or manual backup operation has been performed.
2. In the MongoDB drop-down list on the left sidebar, select Replica Set Instance or Shard Instance. The directions for the two types of instances are similar.
3. Above the instance list on the right, select the region.
4. In the instance list, find the target instance.
5. Click target Instance ID to enter the Instance Details page.
6. Select the Backup and Rollback tab, and enter the Backup Task List page.
7. In the Full Backup Task List, find the backup file to be restored.
8. In the Operation column, click Clone.
9. On the Clone TencentDB for MongoDB Instance page, confirm the master instance information, in the time frame of selecting Backup Time, choose the rollback point in time, select the new instance's billing model, configure specifications, and purchase the new instance. For more information on how to configure additional parameters, see Create MongoDB Instance. Note:
Rollback time only supports selecting data from any time point within the last 7 days before the current time.
10. Confirm the cost, and click Buy Now.
11. Return to the Instance List page. Once the instance has been created and the data from the source instance has been synchronized with the newly cloned instance, the new instance can be used. You may achieve the purpose of rolling back data by swapping the IP of the cloned new instance with the original instance.
Note:
After the instance is cloned, the source instance can be retained or terminated based on your own needs. More Entrances
1. In the Backup and Rollback tab's backup task list, find the backup file you need to restore.
2. In the Operation column, click Collection Rollback.
3. In the Batch Collection Rollback Configuration Wizard's Select rollback Instance tab, for Rollback Target Instance select Rollback to New Instance, for Rollback Type choose Rollback of entire instance.
4. In the instance list below, check an instance that is to be rolled back (you can search by Instance ID, Instance Name, or IP Address in the search box).
5. Click Purchase and Configure a Cloned Instance, enter the Clone TencentDB for MongoDB Instance page, confirm the primary instance information, choose the billing model, configuration specifications, and purchase the new instance. For more information on how to configure additional parameters, see Creating TencentDB for MongoDB Instance. 6. Confirm the cost, and click Buy Now.
Related APIs
|
| This API is used to create a pay-as-you-go TencentDB for MongoDB instance. |