Docs Menu
Docs Home
/
MongoDB Atlas
/ /

Restore Data From Paused M0 Cluster

On this page

  • Prerequisites
  • Procedure

Atlas automatically pauses all inactive M0 clusters after 60 days, disallowing any connections to it until you resume the cluster. However, you can't resume the cluster if it was running a version older than the latest release. This page describes the process of restoring data from your M0 cluster that was paused on a still supported version to a new M0 cluster that will run the latest release version.

Before you begin, you need the following:

  • Project Owners role in Atlas

  • mongodump

  • mongorestore

1
  1. If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it's not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. If it's not already displayed, click Clusters in the sidebar.

    The Clusters page displays.

2

You must deploy an `M10 cluster with the same MongoDB version as the paused M0 cluster. To learn more about deploying an M10 or higher cluster with a specific MongoDB version, see Create a Cluster. If you use the Atlas UI to create the cluster, click Advanced Settings to Select the MongoDB Version of the Cluster. If your paused M0 cluster was running a MongoDB version that has since reached EOL, you won't be able to deploy an M10 cluster with the same version as the M0 cluster.

Wait until your cluster is deployed before proceeding to the next step.

Important

You must delete the M10 cluster at the end of this procedure to avoid charges.

3

You can access the available backups for a cluster at the following URL:

https://cloud.mongodb.com/v2/<project_id>#/clusters/backup/<cluster_name>

Where:

  • project_id is the unique 24-hexadecimal digit string that identifies your project.

  • cluster_name is the label that identifies your cluster.

4
  1. For the snapshot that you want to restore data from, click Restore in the Actions column.

  2. In the Restore window, select the project that contains the M10 cluster from the Target Project dropdown if it isn't already selected.

  3. In the Restore window, select the M10 cluster from the Target Cluster dropdown if it isn't already selected.

  4. Click Restore.

5

You must upgrade your M10 cluster to the latest supported MongoDB version. To learn more, see Upgrade Major MongoDB Version for a Cluster. Wait for the upgrade to complete before proceeding to the next step.

6

You can download a copy of the data on your M10 cluster by using mongodump. To learn more, see mongodump.

7

To learn more, see Deploy a Free Cluster.

8

You must upload the data that you downloaded from the M10 cluster to your M0 cluster. You can use the mongorestore utility to restore the data into your M0 cluster. To learn more, see mongorestore.

9

To learn more, see Terminate a Cloud Deployment. You must delete your M10 cluster to avoid charges.

Back

Stop, Start, or Delete