Docs Menu
Docs Home
/
MongoDB Atlas
/

Recover a Point In Time with Continuous Cloud Backup

On this page

  • Considerations
  • Required Access
  • Procedure

Continuous Cloud Backups replay the oplog to restore a cluster from a particular point in time within a window specified in the Backup Policy. To learn more, see Continuous Cloud Backups.

  • Enabling Continuous Cloud Backup increases the monthly cost of your cluster.

    To learn more about the cost implications, see billing.

  • Clusters with continuous cloud backups enabled store oplog data in block storage according to your cloud provider:

    • S3 for AWS

    • Azure Blob Storage for Azure

    • Google Cloud Storage for Google Cloud

  • If you disable Continuous Cloud Backup, Atlas will delete the continuous cloud backup history.

  • You can't configure a restore window that is longer than the Hourly Snapshot Retention Time.

  • If you select the Date & Time option, you can specify the time of restore with one minute of granularity.

  • If you select the Oplog Timestamp option, you can specify the time of restore with one second of granularity.

  • You can restore a cluster from any time during its continuous cloud backup window except between when you initiated a restore and when Atlas completes a snapshot after the restore.

  • Atlas might create a host rollback alert due to differences in the data between the source and target clusters. You can ignore this alert.

  • After the restore completes, Atlas takes a snapshot of the restored cluster. This snapshot has a retention period equal to the cluster's continuous cloud backup window.

To perform the following actions, you must have Project Owner or Organization Owner access to Atlas.

The following process outlines the steps for setting up Continuous Cloud Backup and recovering a point in time:

1
  1. Create a new cluster, or click the next to the name of your cluster and select Edit Configuration.

  2. Click Additional Settings.

  3. Toggle Turn on Cloud Backup to On.

  4. Toggle Continuous Cloud Backup to On.

2
  1. If it is not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it is not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. If the Clusters page is not already displayed, click Database in the sidebar.

3
  1. Click your cluster's name.

  2. 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.

4
  1. Click Backup Policy.

  2. In the Point in Time Restore Policy section, specify a Restore Window.

5
  1. Click the Point in Time Restore button on the far right side of the screen.

  2. Select either the Date & Time or Oplog Timestamp tab.

  3. Enter the desired point in time to restore from.

  4. Click the Next: Select Cluster button.

  5. Choose a project and cluster to restore to from the dropdown menus.

  6. Click the Restore button.

← Build a Resilient Application