Fix This Page
Navigation

Back Up a Cluster

Note

This feature is not available for Free Tier clusters. For more information, see Atlas M0 (Free Tier) Limitations.

Enabling backup for your cluster allows you to restore from stored snapshots or from a selected point in time between snapshots.

Enable Backup

You can enable backup during the cluster creation or during the modification of an existing cluster.

Specifically, in the cluster configuration, set Do you want to enable backup? to Yes.

Backup Data

Atlas backup service takes snapshots of the data. These snapshots only stores the differences between successive snapshots. For sharded clusters, the backup service temporarily stop the balancer via the mongos in order to insert a marker token into all shards and config servers in the cluster. Atlas takes a snapshot when the marker tokens appear in the backup data.

Atlas provides the functionality to query specific backup snapshot. For details, see Query a Backup Snapshot.

Size

To reduce the snapshop data size, Atlas uses compression and block-level de-duplication technology.

Data Centers

For North America and Sydney based clusters, Atlas stores the backup data in North American data centers. For Dublin based clusters, Atlas stores the backup data in Dublin data centers. Atlas retains these snapshots based on the retention policy.

Modify Backup Schedule

If you enable backup for a cluster, Atlas takes a base snapshot of your data every 6 hours.

To change a deployment’s backup schedule, go to Backup. For the cluster whose backup schedule you wish to modify, click the ellipsis and select Edit Snapshot Schedule menu option.

Retention Policy

Atlas retains snapshots for the time periods listed in the following table. If you disable backup for a cluster or terminate a cluster, Atlas immediately deletes the backup snapshots for the cluster.

Snapshot Default Retention Policy Maximum Retention Setting
Base snapshot. 2 days 5 days.
Daily snapshot 7 days 360 days
Weekly snapshot 4 weeks 52 weeks
Monthly snapshot 13 months 36 months