If you have backed up data across regions, you can restore the data to a new instance in the destination region.
Prerequisites
The instance is a replica set or a sharded cluster.
The storage type of the instance is ESSD.
A cross-region backup has been created. For more information, see Back up data across regions.
Usage notes
A backup set can be used for a cross-region restore only after any associated log backups are complete.
Procedure
Go to the Replica Set Instances or Sharded Cluster Instances page, select a resource group and a region at the top, and then click the ID of the target instance.
In the left-side navigation pane of the instance details page, click Backup and Restoration.
Click the Cross-Region Backup tab.
Find the target backup set and click Create Instance from Backup Point in the Actions column.
In the Create Instance from Backup Point panel, click Confirm.
Clone the instance. The procedure varies for replica set and sharded cluster instances.
Replica set
On the Clone Instance page, select a Product type.
Replica set (Subscription): A prepaid billing method suitable for long-term use, offering greater discounts for longer subscription periods.
Replica set (Pay-as-you-go): A postpaid billing method suitable for short-term needs, where you are billed hourly based on the instance specifications and maximum storage capacity. You can release the instance at any time to save costs.
Configure the new instance. For more information about the parameters, see Create a replica set instance.
ImportantThe storage capacity of the new instance must be greater than or equal to that of the source instance.
Sharded cluster
On the Clone Instance page, select a Product Type.
Sharded Cluster (Subscription): A prepaid billing method suitable for long-term use. It is more cost-effective than pay-as-you-go, and longer subscription periods offer greater discounts.
Sharded Cluster (Pay-as-you-go): A postpaid, hourly-billed method suitable for short-term needs. Fees are based on instance specifications and the storage capacity used.
Configure the new instance. For more information about the parameters, see Create a sharded cluster instance.
ImportantThe new instance must have at least as many shard nodes as the original instance.
The storage capacity of each new shard node must be greater than or equal to that of the corresponding node in the original instance.
Follow the on-screen instructions to complete the payment.
Related APIs
API | Description |
Queries the backup list of an ApsaraDB for MongoDB replica set instance. | |
Queries the backup list of an ApsaraDB for MongoDB sharded cluster instance. | |
Restores data to a new ApsaraDB for MongoDB replica set instance. | |
Restores data to a new ApsaraDB for MongoDB sharded cluster instance. | |
Queries whether an ApsaraDB for MongoDB instance that uses cloud disks is eligible for data restoration. |