Docs Menu

Restore a Cluster from an M2/M5 Snapshot

On this page

  • Restore Restrictions
  • Prerequisites
  • Procedure

Atlas lets you restore data from an M2 or M5 cluster snapshot. You can restore M2 and M5 snapshots to a cluster tier M2 or greater.

Note

You must have the Project Owner role for the Atlas projects that contain the source and target clusters to restore data from one Atlas cluster to another.

  • Atlas can only restore M2 and M5 snapshots to a replica set that does not use Encryption at Rest.
  • The target cluster must run the same major release version of MongoDB as the snapshot MongoDB version. For example, you can only restore a snapshot using MongoDB 4.0 to a target cluster running MongoDB 4.0.
  1. You must ensure that the target Atlas cluster does not receive client requests during restoration. You must either:
    • Restore to a new Atlas cluster and reconfigure your application to use that new cluster once the new deployment is running, or
    • Ensure that the target Atlas cluster cannot receive client requests while you restore data.
  2. To download your snapshot via HTTPS, you must add the IP or CIDR addresses of the client downloading the snapshot to your Atlas project access list.
  1. Click Databases in the top-left corner of Atlas.
  2. From the Database Deployments view, click the cluster name.
  3. Click the Backup tab.
  4. Find the desired cluster snapshot to restore.
  5. For the desired cluster, click Restore or Download.
  6. Follow the prompts to restore your cluster. You may choose to:

Important

Atlas deletes all existing data on the target cluster prior to the restore. The cluster will be unavailable for the duration of the restore.

You can restore to any Atlas cluster in a project for which you have the Project Owner role.

  1. In the Snapshots tab, locate the snapshot you wish to restore in the All Daily Snapshots table.
  2. In the Actions column of the table, click Restore.
  3. From the Restore dialog, select the target cluster to which you want to restore.
  4. Click Restore.
  5. Restart your application and ensure it uses the new target cluster.
Give Feedback
MongoDB logo
© 2021 MongoDB, Inc.

About

  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.