For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

Export Cloud Backup Snapshots to Google Cloud Storage

Note

This feature is not available for Free clusters and Flex clusters. To learn more about which features are unavailable, see Atlas Free Cluster Limits.

Atlas lets you export your Cloud Backup snapshots to Google Cloud Storage buckets automatically or manually. To configure and run exports, use the procedure that matches the type of export that you want:

Each procedure requires the same prerequisites.

For an overview of how Atlas exports snapshots and the files it uploads, see Export Cloud Backup Snapshots to Object Storage.

You can't perform the following actions:

To export your Cloud Backup snapshots, you need an M10 or higher Atlas cluster with Cloud Backup enabled. In addition, to set up Atlas access to your object store, you must do the following:

  1. Locate the ID of your Google Cloud service account in Atlas by following the steps in View Authorized Google Cloud Service Accounts.

  2. In your Google Cloud console, add the service account ID from the previous step as a principal to your bucket's policy by following the Google Cloud documentation.

    This grants the Storage Object User role to the service account for your specific Google Cloud Storage bucket.

To create an export policy for automatic exports, run the following procedure:

To create an export job for a single snapshot, run the following procedure: