Atlas lets you restore data from an
M2 or M5 cluster snapshot. You can restore
M5 snapshots to a cluster tier
M2 or greater.
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
M5snapshots 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.
- 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.
- 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.
- Click Databases in the top-left corner of Atlas.
- From the Database Deployments view, click the cluster name.
- Click the Backup tab.
- Find the desired cluster snapshot to restore.
- For the desired cluster, click Restore or Download.
Follow the prompts to restore your cluster. You may choose to:
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
Project Owner role.
- In the Snapshots tab, locate the snapshot you wish to restore in the All Daily Snapshots table.
- In the Actions column of the table, click Restore.
- From the Restore dialog, select the target cluster to which you want to restore.
- Click Restore.
- Restart your application and ensure it uses the new target cluster.