This topic describes how to restore data to a new ApsaraDB for MongoDB instance by backup set. This method is ideal for data restoration and verification.
- The source instance is a standalone or replica set instance.
- You can only select a backup set from the last seven days.
This method creates an instance and you are charged for the new instance. For more information, see Billing items and pricing.
- Log on to the ApsaraDB for MongoDB console.
- In the upper-left corner of the page, select the region where the source instance resides.
- In the left-side navigation pane, click Replica Set Instances.
- Find the source instance and click its ID.
- In the left-side navigation pane, click Backup and Recovery.
- On the Backup and Recovery page that appears, find the target backup set and choose
in the Operation column.
- On the Instance Purchase page that appears, select a billing method for the new instance.
- Subscription: You must pay the subscription fee when you create an instance. We recommend that you select this billing method for long-term use, because it is more cost-effective than the pay-as-you-go billing. Longer subscription periods have larger discounts.
- Pay-as-you-go: A pay-as-you-go instance is charged at an hourly rate based on your actual resource usage. We recommend that you select this billing method for short-term use. You can reduce costs by releasing your pay-as-you-go instance after you no longer need it.
- Configure the new instance. For more information, see Create a replica set instance.
- You cannot change Region, Database Version, Storage Engine, and Replication Factor for the new instance.
- To make sure that the new instance has sufficient space for restoration, we recommend that you set the storage capacity greater than or equal to that of the source instance.
- Click Buy Now.
- Read and select ApsaraDB for MongoDB Agreement of Service, and complete the payment as prompted.
Note The time required to restore data to a new instance by backup set varies depending on factors such as the data volume, task queue status, and network conditions. When the status of the new instance changes to Running, the restoration is complete.