This topic describes how to manually back up an ApsaraDB for MongoDB instance. ApsaraDB for MongoDB supports both automatic backup and manual backup. You can configure a backup policy for the system to automatically back up your ApsaraDB for MongoDB instance based on the backup cycle you specify.
Notes
- ApsaraDB for MongoDB stores its backup files in Object Storage Service (OSS) to reduce the storage space usage of ApsaraDB for MongoDB instances.
- Standalone instances only support snapshot backup, which decreases their I/O performance.
- Physical backup and logical backup run on the hidden nodes of replica set instances, and do not affect the performance of the primary and secondary nodes. If the data volume is large, backing up your RDS instance may require a long time.
- After the database version is upgraded, the backup files of the original version cannot be used to restore data of the new version.
Backup methods
- Snapshot backup: The status of disk data at a specific point in time is retained.
- Physical backup: Physical database files of an ApsaraDB for MongoDB instance are backed up.
- Logical backup: mongodump is used to logically back up each database.