You can download the physical backup data of a replica set instance based on the backup time and recover the downloaded backup data in the user-created MongoDB instance.

Prerequisites

Standalone instances do not support this feature. You can create an instance from a specified backup to recover data. For more information, see Create an instance based on a backup.

Background information

After setting an automatic backup policy, you can back up data for replica set instances in physical backup mode.

A physical backup is carried out on the hidden secondary node of an ApsaraDB for MongoDB instance. Therefore, it does not affect the I/O performance of the primary and secondary nodes. It may take a long time to back up a large amount of data. You need to wait patiently.

Procedure

  1. Log on to the ApsaraDB for MongoDB console.
  2. In the upper-left corner of the home page, select the region where the target instance is located.
  3. In the left-side navigation pane, click Replica Set Instances.
  4. Locate the target instance and click its instance ID.
  5. In the left-side navigation pane, click Backup and Recovery.
  6. On the Backup and Recovery page that appears, locate the target physical backup and choose > Download.


    Note After downloading the backup file, you can follow the instructions in Recover ApsaraDB for MongoDB physical backup data in a user-created MongoDB instance to recover data.