The data restoration feature of ApsaraDB for MongoDB can minimize any losses caused by incorrect operations on databases. ApsaraDB for MongoDB provides many data restoration solutions to meet requirements in different scenarios.

Restore data to ApsaraDB for MongoDB instances

Method Instance type Scenario Remarks
Create an instance from a backup Standalone or replica set instance Applicable to the scenarios where the entire instance is restored and data timeliness is not a key requirement. A new instance is created based on the backup data and data is restored to the new instance.
Note The created instance will be billed. For more information, see Billing items and pricing.
Create an instance based on a point in time Replica set or sharded cluster instance Applicable to the scenarios where multiple databases or the entire instance is restored. The data at a specified point in time will be restored.
Restore a database in ApsaraDB for MongoDB Replica set instance Applicable to the scenarios where one or more databases are quickly restored. For example, a data set or document is deleted by mistake.
Restore backup data to the current instance Replica set instance (three-node) N/A Restoring data directly to the current instance poses high risks. We recommend that you restore the data by using the following feature: Create an instance based on a time point or Create an instance from a backup. After the data is validated, migrate the data back to the original instance through DTS.

Restore data to user-created databases

You can download backup files of ApsaraDB for MongoDB to your server and recover the data to a user-created database. This feature is applicable to scenarios such as business testing or data analysis.

Method Instance type
Restore logical backup files of ApsaraDB for MongoDB to user-created databases Replica set instance
Restore physical backup files of ApsaraDB for MongoDB to user-created databases Replica set instance