Restore cross-region backup 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 is available for 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 where you pay for the instance upon creation. This option is suitable for long-term needs and is more cost-effective than the pay-as-you-go option. The longer the subscription period, the larger the discount.
Replica Set (Pay-as-you-go): A postpaid billing method where you are billed hourly based on the instance specifications and the maximum storage capacity. This option is suitable for short-term needs. You can release the instance at any time to save costs.
Configure the new instance. For parameter details, 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.
Important-
The 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. |