Description

Ensure Cloud Backup is turned on for every dedicated (M10 and higher) Atlas cluster, so that Atlas takes scheduled snapshots of the cluster's data, which can be restored after accidental deletion, corruption, or a security incident.

Rationale

Without backups, data lost through a mistake, a bad deployment, or ransomware cannot be recovered. Cloud Backup takes regular snapshots automatically and keeps them according to a backup policy, so the cluster can be restored to a recent point in time.

Impact

  • Cluster data can be restored after loss

  • Supports recovery and compliance requirements

  • Backups add storage costs

Default Value

For M10+ clusters, Cloud Backup is controlled by the Turn on Cloud Backup toggle. Flex clusters are always backed up and backups cannot be turned off. A project Backup Compliance Policy, if configured, turns Cloud Backup on for all clusters and prevents turning it off.

Pre-Requisites

  • Project Owner or Project Cluster Manager role

  • An M10 or higher cluster

Test Plan

  1. Log in to MongoDB Atlas at https://cloud.mongodb.com.

  2. Select your organization and project from the menus at the top of the page.

  3. In the sidebar, click Clusters, find the cluster, and click Edit Configuration.

  4. Expand the Additional Settings panel.

  5. Check whether Turn on Cloud Backup is On.

  6. Alternatively, use the Atlas Administration API or the Atlas CLI (https://www.mongodb.com/docs/atlas/cli/current/). Run GET /api/atlas/v2/groups/{groupId}/clusters/{clusterName} and check that backupEnabled is true.

  7. If backup is off, follow the implementation steps.

Implementation Steps

  1. Log in to MongoDB Atlas at https://cloud.mongodb.com.

  2. Select your organization and project from the menus at the top of the page.

  3. In the sidebar, click Clusters, find the cluster, and click Edit Configuration.

  4. Expand the Additional Settings panel.

  5. Set the Turn on Cloud Backup toggle to On.

  6. Click Review Changes, then click Apply Changes.

  7. Optionally, review the backup schedule and retention on the cluster's Backup tab.

Backout Plan

  1. Log in to MongoDB Atlas at https://cloud.mongodb.com.

  2. Select your organization and project from the menus at the top of the page.

  3. In the sidebar, click Clusters, find the cluster, and click Edit Configuration.

  4. Expand the Additional Settings panel.

  5. Set Turn on Cloud Backup to Off. To keep existing snapshots, set Keep existing snapshots after backups disabled? to On before applying. This is not possible if a Backup Compliance Policy is enabled.

  6. Click Review Changes, then click Apply Changes.

Reference