Navigation

Fully Managed Backup Service

Note

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

Considerations

Before selecting a backup method, consider the following factors:

Backup Options for M5 or Smaller Clusters

You may use mongodump to back up your data and mongorestore to restore that data. To learn how to manually back up your data, see Command Line Tools.

Only One Backup Method per Project

Important

Atlas only allows one backup method per project. Once you select a backup method for a cluster in a project, Atlas locks the backup service to the chosen method for all subsequent clusters in that project.

For example, in a project where one or more clusters use continuous backups, you cannot enable cloud provider snapshots for any cluster in that project.

To change the backup method for the project, disable backups for all clusters in the project, then re-enable backups using your preferred backup methodology. Atlas deletes any stored snapshots when you disable backup for a cluster.

Consider creating a separate project for clusters where a different backup method is required.

Restores Limited to Same MongoDB Version

You must restore a backup to an Atlas cluster running the same version of MongoDB as the cluster that you want to restore. The length of time required for an upgrade depends on factors such as the number of nodes in the cluster. Atlas uses a rolling upgrade process to maintain cluster availability.

Tip

You can still use backups made before an upgrade. For example, you can restore a 3.6 cluster to 4.0 with the following procedure:

  1. Restore the old 3.6 backup to another 3.6 cluster.
  2. Upgrade the restored cluster to 4.0.

Backup Methods

Atlas offers two methods to back up your data.

Continuous Backups

Atlas uses incremental snapshots to continuously back up your data. Continuous backup snapshots are typically just a few seconds behind the operational system.

Atlas ensures point-in-time backup of replica sets and consistent, cluster-wide snapshots of sharded clusters.

For each Atlas project with continuous snapshots enabled, Atlas stores the continuous backup snapshots in the backup data center location that the first backup-enabled cluster created in that project used.

Continuous snapshots support restoring from the full snapshot or from a point-in-time between snapshots. You can also query a continuous snapshot.

With Atlas continuous backup, the total number of collections across all databases in a Atlas cluster cannot equal or exceed 100,000.

Cloud Provider Snapshots

Atlas uses the native snapshot capabilities of your cloud provider to support full-copy snapshots and localized snapshot storage.

For each Atlas cluster with cloud provider snapshots enabled, Atlas stores the snapshots in the same region as the snapshot source replica set member.

At this time, Atlas supports cloud provider snapshots on Microsoft Azure and Amazon Web Services (AWS) only.