You can back up an ApsaraDB for MongoDB instance in either the automatic or manual mode, and restore the instance from backup files or to a point in time.
Data backup
ApsaraDB for MongoDB stores its backup files in Object Storage Service (OSS) to reduce the storage usage of its instances. For more information about OSS, see What is OSS? You can automatically or manually back up the data of an instance in the ApsaraDB for MongoDB console based on your business requirements. For more information, see Configure automatic backup for an instance or Configure manual backup for an instance.
If you choose automatic backup, only physical backup is supported.
Instance | Backup method | Impact |
Standalone instance | Snapshot backup Note A snapshot is a point-in-time backup of disk data. | Snapshots created in a standalone instance affect the I/O performance of the instance. |
| Physical backup Note Physical data files of an instance are backed up. | Physical backup runs on the hidden nodes of an instance, which does not affect the read/write performance of the primary and secondary nodes in the instance. If your instance has a large amount of data, a backup may require a long period of time. |
Logical backup Note mongodump is used to logically back up each database. | ||
| Snapshot backup | Snapshot backup runs on the secondary and hidden nodes of an instance, which does not affect the read/write performance of the primary node in the instance. |
Data restoration
ApsaraDB for MongoDB provides different restoration solutions. For more information, see Restoration solutions.