All Products
Search
Document Center

ApsaraDB for MongoDB:Restore from a backup to a new instance

Last Updated:Aug 06, 2026

ApsaraDB for MongoDB supports restoring backup data from a backup point to a new instance. Use this feature to clone data for testing or validation without affecting your database.

Prerequisites

  • The source instance must be a standalone instance or a replica set instance.

  • MongoDB 4.0 standalone instances reached end of sale on December 31, 2025. This feature is not available for standalone instances running a discontinued version. For more information, see Notice: End of sales for MongoDB 4.0 standalone instances.

Usage notes

  • By default, the new instance runs the latest kernel minor version.

  • Backup files from a previous major version cannot be used after a major version upgrade.

  • Data is restored to its state at the start of the full backup.

Billing

Restoring from a backup point creates a new billable instance. See Billing items and pricing.

Note

To create a pay-as-you-go instance, ensure your account has a sufficient balance.

Procedure

  1. Go to the Replica Set Instances page. In the top navigation bar, select a resource group and a region. Then, click the ID of the target instance.

  2. In the navigation pane on the left, click Backup and Restoration.

  3. On the Full Backup tab, find the target backup file and click Create Instance from Backup in the Actions column.

    Important

    Backup files from a previous major version cannot be used after a major version upgrade.

  4. In the Create Instance from Backup panel, select the databases to restore.

  5. Click OK.

  6. On the Clone Instance page, configure the new instance and complete the payment. For parameter descriptions, see Create a standalone instance or Create a replica set instance.

    Note
    • You cannot change the Region, Engine Version, Storage Engine, and Active-standby Nodes parameters for the cloned instance.

    • The storage capacity of the cloned instance must be equal to or greater than the source instance.