ApsaraDB for MongoDB provides many data restoration solutions.
Restore data to ApsaraDB for MongoDB instances
Restoration method | Instance architecture | Scenario | Remarks |
Restore backup data to a new ApsaraDB for MongoDB instance by backup point |
| 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 backup 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 the data of an ApsaraDB for MongoDB instance to a self-managed database
To restore the data of an ApsaraDB for MongoDB instance to a self-managed database, you must download the backup files of the instance to your computer. For more information about how to download backup files, see Download backup files.
Restoration method | Instance architecture | Remarks |
| 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 |