ApsaraDB for MongoDB provides a variety of solutions that allow you to back up or restore data in different scenarios.
Supported instance architecture
Back up databases
Restore backup data to ApsaraDB for MongoDB instances
Replica set instances that run MongoDB 4.2 or earlier and use local disks
Applicable to scenarios in which 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.
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.
Download backup files
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.
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
Applicable to scenarios such as business testing or data analysis.
Before you restore backup data to self-managed databases, you must download backup files.
Replica set instances