Docs Menu

Restore a Cloud Manager Snapshot to Atlas

You can automatically restore a backup for a Cloud Manager deployment to an Atlas deployment.

In addition to the prerequisites, consider the following requirements and limitations when restoring from a Cloud Manager deployment.

  • You must have the Project Backup Admin role for the Cloud Manager project that contains the source clusters and the Project Owner role for the Atlas projects that contain the target clusters.

  • If the DefaultRWConcern value on the source snapshot differs from the DefaultRWConcern value on the target cluster, Atlas overrides the value on the source snapshot with the value on the target cluster. If there is no value configured for the DefaultRWConcern on the target cluster, Atlas keeps the value of DefaultRWConcern from the snapshot without explicit configuration. This may differ from the default value for that MongoDB version.

  • If you are restoring from a sharded cluster, the source and target clusters must have the same number of shards.

  • Atlas can't restore a sharded cluster snapshot to a replica set.

  • This feature is unavailable for M0 clusters and for serverless instances.

  • You can only restore a Cloud Manager snapshot to a Atlas cluster if either both deployments run the same version of MongoDB server, or the Atlas deployment runs one version higher than the Cloud Manager deployment.

Atlas deletes all existing data on the target cluster prior to the restore. Depending on the type of restore taking place, the target cluster may be unavailable for the duration of the restore.

Before you restore a snapshot from a Cloud Manager deployment to an Atlas deployment, ensure that the hosts for your Atlas deployment have sufficient storage space for the restored databases, plus additional space for dataset growth. Use db.stats() to find the current database size.

Also, the instance types of the nodes in the Atlas deployment must have at least as much memory and throughput capacity as the nodes in the Cloud Manager deployment.

To learn more, see Restoring a Deployment to MongoDB Atlas.