ApsaraDB for MongoDB supports restoring backup data from a backup point to a new instance. Use this feature to clone data for testing or validation without affecting your database.
Prerequisites
The source instance must be a standalone instance or a replica set instance.
Usage notes
-
By default, the new instance runs the latest kernel minor version.
-
Backup files from a previous major version cannot be used after a major version upgrade.
-
Data is restored to its state at the start of the full backup.
Billing
Restoring from a backup point creates a new billable instance. See Billing items and pricing.
To create a pay-as-you-go instance, ensure your account has a sufficient balance.
Procedure
-
Go to the Replica Set Instances page. In the top navigation bar, select a resource group and a region. Then, click the ID of the target instance.
-
In the navigation pane on the left, click Backup and Restoration.
-
On the Full Backup tab, find the target backup file and click Create Instance from Backup in the Actions column.
ImportantBackup files from a previous major version cannot be used after a major version upgrade.
-
In the Create Instance from Backup panel, select the databases to restore.
-
All Databases: Restores all databases.
-
Partial Databases: Restores only selected databases.
NoteAvailable only for instances with local disks. Restore one or more databases of an ApsaraDB for MongoDB instance.
-
-
Click OK.
-
On the Clone Instance page, configure the new instance and complete the payment. For parameter descriptions, see Create a standalone instance or Create a replica set instance.
Note-
You cannot change the Region, Engine Version, Storage Engine, and Active-standby Nodes parameters for the cloned instance.
-
The storage capacity of the cloned instance must be equal to or greater than the source instance.
-