ApsaraDB for MongoDB provides a variety of solutions that allow you to back up or restore data in different scenarios. The following table describes the solutions provided by ApsaraDB for MongoDB in various scenarios.
Overview
The following table describes the backup and restoration solutions provided by ApsaraDB for MongoDB. The - symbol in the table indicates that the solution is not fixed to any specified scenarios. Select the solution that suits your business requirements and preferences.
Operation | Solution | Supported instance architecture | Scenario |
Back up databases |
| - | |
| Applicable to scenarios in the gaming industry, such as server maintenance before version releases. You can manually back up data before version releases.This way, you can quickly roll back to the original status after issues occur. | ||
| Applicable to scenarios in which the write loads are heavy. The main bottleneck of point-in-time restoration may exist in the incremental log playback phase. If you enable high-frequency backup, the restoration time can be significantly shortened. | ||
| Applicable to scenarios in which backup data is used for cross-region disaster recovery. When a region-level failure occurs, you can use the cross-region backup data to recover your services. | ||
Restore backup data to ApsaraDB for MongoDB instances | Restore the databases of an instance to the original instance |
| Applicable to scenarios in which one or more databases need to be quickly restored. For example, you can use this solution if you delete a collection or document by mistake. |
Replica set instances that run MongoDB 4.2 or earlier and use local disks | |||
| Applicable to scenarios in which data of multiple databases in an instance or data of the entire instance needs to be restored to a specific point in time. | ||
| Applicable to scenarios in which an entire instance needs to be restored but data timeliness is not a key requirement. | ||
| Applicable to scenarios in which data monitoring or disaster recovery is required. You can use cross-region backup files to restore the instance data to a new instance in the region where the backup files reside. | ||
Restore backup data to self-managed databases | Restore the instance data to a self-managed MongoDB database by using logical backup |
| Applicable to scenarios such as business testing or data analysis. Note Before you restore backup data to self-managed databases, you must download backup files. For more information, see Download backup files. |
Restore the instance data to a self-managed MongoDB database by using physical backup | Replica set instances that run MongoDB 4.2 or earlier and use local disks |