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.
- 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.
- 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.
- Log on to the ApsaraDB for MongoDB console.
- In the upper-left corner of the page, select the resource group and the region of the target instance.
- In the left-side navigation pane, click Replica Set Instances or Sharded Cluster Instances based on the instance type.
- Find the target instance and click its ID.
- In the upper-right corner of the page that appears, click Backup Instance.
- In the dialog box that appears, specify Backup Method. Note
- If the instance is a standalone instance, you can only select Snapshot Backup.
- If the instance is a replica set or sharded cluster instance, you can select Logical Backup or Physical Backup.
- Click OK.