ApsaraDB for MongoDB provides a variety of solutions that allow you to back up or restore data in different scenarios.
|Back up databases||Configure automatic backup for an instance||-|
|Manually back up data of an ApsaraDB for MongoDB instance||-|
|High-frequency backup||Replica set instances that run MongoDB 4.4 or later and use cloud disks||-|
|Restore backup data to ApsaraDB for MongoDB instances||Restore one or more databases of an ApsaraDB for MongoDB instance||Replica set instances that run MongoDB 4.2 or earlier and use local disks||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 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 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.|
|Restore backup data to the current instance||Replica set instances||-|
|Download backup files||Download a backup file||Applicable to scenarios such as business testing or data analysis. You can download ApsaraDB for MongoDB backup files to your computer and restore the data to a self-managed database. |
Note When you restore backup data to ApsaraDB for MongoDB instances, you do not need to download backup files.
|Restore backup data to self-managed databases||Restore data of an ApsaraDB for MongoDB instance to a self-managed MongoDB database by using logical backup||Applicable to scenarios such as business testing or data analysis. |
Note When you restore backup data to self-managed databases, you must download backup files first.
|Restore data of an ApsaraDB for MongoDB instance to a self-managed MongoDB database by using physical backup||Replica set instances|