ApsaraDB for MongoDB provides many data restoration solutions.
Restore data to ApsaraDB for MongoDB instances
Method | Instance architecture | Scenario | Remarks |
Restore data to a new ApsaraDB for MongoDB instance by backup set |
| Applicable to scenarios where an entire instance needs to be restored but 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.
|
Restore data to a new ApsaraDB for MongoDB instance by point in time |
| Applicable to scenarios where data of multiple databases in an instance or data of the entire instance needs to be restored to a specific point in time. | |
Restore one or more databases of an ApsaraDB for MongoDB instance | Replica set instances that meet the following requirements:
| Applicable to scenarios where one or more databases need to be quickly restored. For example, you can use this solution if you deleted a collection or document by mistake. |
Restore data to self-managed databases
To restore data to self-managed databases, you must download the backup files of the ApsaraDB for MongoDB instance to your computer. For more information about how to download backup files, see Download backup files.
Method | Instance architecture | Remarks |
Restore logical backup files of ApsaraDB for MongoDB to self-managed databases |
| The mongorestore tool of an earlier version is not supported in MongoDB of a later version. We recommend that you select a mongorestore version that is compatible with your MongoDB version. For more information, see mongorestore. |
Replica set instances that meet the following requirements:
| N/A. |