ApsaraDB for MongoDB allows you to restore backup data to a new instance by backup point. If you want to test or verify data without interrupting the running of your database, you can use point-in-time restoration to clone data to a new instance for testing or verification.
Prerequisites
The original instance is a standalone or replica set instance.
Usage notes
By default, the new instance runs the latest kernel version.
If you have upgraded the major version of the original instance, you cannot restore the backup data before the upgrade to the new instance.
The backup-point restoration can restore data only to the time when the full backup starts.
Billing
If you create an instance from a backup point, you are charged for the new instance. For more information, see Billable items.
If you want to create a pay-as-you-go instance, make sure that you have sufficient balance within your account.
Procedure
Go to the Replica Set Instances page. In the top navigation bar, select the region in which the instance resides. Then, find the instance and click the ID of the instance.
In the left-side navigation pane of the instance details page, click Backup and Restoration.
On the Full Backup tab, find the backup file that you want to use and then click Create Instance from Backup in the Actions column.
ImportantIf you have upgraded the major version of the original instance, you cannot restore the backup data before the upgrade to the new instance.
In the Create Instance from Backup panel, select the databases that you want to restore.
All Databases: All databases in the original instance are restored.
Partial Databases: Only selected databases are restored.
NoteYou can restore partial databases only in an instance that uses local disks. For more information, see Restore the databases of an instance.
Click OK.
On the Clone Instance page, configure the new instance and complete the payment. For more information about configuration items, see Create a standalone instance or Create a replica set instance.
NoteYou cannot change the values of the Region, Engine Version, Storage Engine, and Active-standby Nodes parameters on the Clone Instance page.
To make sure that the new instance has sufficient storage capacity for restoration, we recommend that you set the storage capacity of the new instance to a value that is larger than or equal to the storage capacity of the original instance.