Restore Data From Paused M0 Cluster
On this page
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.
Prerequisites
Before you begin, you need the following:
Project Owners
role in Atlas
Procedure
In Atlas, go to the Clusters page for your project.
If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.
If it's not already displayed, select your desired project from the Projects menu in the navigation bar.
If it's not already displayed, click Clusters in the sidebar.
The Clusters page displays.
Deploy an M10
or higher cluster.
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.
Access the available backups for the paused M0
cluster.
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.
Restore data from the backup.
For the snapshot that you want to restore data from, click Restore in the Actions column.
In the Restore window, select the project that contains the
M10
cluster from the Target Project dropdown if it isn't already selected.In the Restore window, select the
M10
cluster from the Target Cluster dropdown if it isn't already selected.Click Restore.
Upgrade your M10
cluster.
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.
Export the data on the M10
cluster.
You can download a copy of the data on your M10
cluster by
using mongodump
. To learn more, see mongodump
.
Deploy an M0
cluster.
To learn more, see Deploy a Free Cluster.
Upload data to your M0
cluster.
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
.
Delete the M10
cluster.
To learn more, see Terminate a Cloud Deployment. You must delete
your M10
cluster to avoid charges.