Shared Cluster Backups
Atlas takes daily snapshots of M2
and M5
Shared clusters. Atlas takes these snapshots automatically
starting 24 hours after you create your cluster.
Atlas always takes M2
and M5
snapshots from a
secondary node to minimize performance impact.
Atlas retains the last 8 daily snapshots, which you can download or restore to an Atlas cluster.
Required Access
To manage backups for a cluster, you must have
Project Owner
access to the project.
Users with Organization Owner
access must add themselves
as a Project Owner
to the project before they can manage backups.
Limitations
Custom policies are not supported for
M2
andM5
cluster snapshots. Atlas always takes a single daily snapshot at the same time, starting 24 hours after the cluster was created.If you require finer-grained backups, consider upgrading to an
M10
or larger cluster tier.On-demand snapshots are not supported for
M2
andM5
clusters.You can't restore
M2
andM5
snapshots to a sharded cluster. You can only restoreM2
andM5
snapshots to replica sets.You can't restore Serverless instance snapshots to
M2
andM5
clusters.Starting with MongoDB 5.0, you can restore snapshots of clusters that run only the two most recent major versions of MongoDB to
M2
andM5
clusters.For example:
You can restore snapshots taken from clusters that run MongoDB 4.4 to an
M2
orM5
cluster that runs MongoDB 5.0.You can't restore snapshots taken from clusters that run MongoDB versions earlier than 4.4 to an
M2
orM5
cluster that runs MongoDB 5.0.
Backup Snapshot Storage Locations
The following table indicates where Atlas stores M2
and M5
cluster snapshots:
Cluster Location | Snapshot Storage Location |
---|---|
Australia | Australia |
Germany | Germany |
Hong Kong | Australia |
India, Singapore, Taiwan | Asia |
USA | USA |
All other cluster locations | Ireland |
View M2
/M5
Backup Snapshots
The Atlas CLI does not support M2/M5
backup snapshots.
Atlas displays existing snapshots for a given cluster on the Snapshots page. To view snapshots that Atlas has already taken:
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.
Go to the Backup page for your cluster.
Click your cluster's name.
Click the Backup tab.
If the cluster has no Backup tab, then Atlas backups are disabled for that cluster and no snapshots are available. You can enable backups when you scale the cluster.
The Backup page displays.
Alternatively, to view a list of all M10+
clusters with
cloud backup enabled:
In Atlas, go to the Backup details for your project.
If it's not already displayed, select the organization that contains your project from the Organizations menu in the navigation bar.
If it's not already displayed, select your project from the Projects menu in the navigation bar.
In the sidebar, click Backup under the Security heading.
The Backup details display.
The Atlas Administration API provides endpoints for retrieving one or all
snapshots from a given M2
or M5
cluster:
Additionally, Atlas displays existing M2
or M5
snapshots
in the All Daily Snapshots table. From this table, you can
restore or
download your
existing snapshots.