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:
To automatically export snapshots as your backup policy creates them, see Export Snapshots Automatically.
To manually export a single existing snapshot, see Export a Single Snapshot Manually.
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.
Limitations
You can't perform the following actions:
Export fallback snapshots.
Have more than one active export per snapshot.
Export view collections, or system collections, except for
<database>.system.jscollections.Export snapshots from clusters in an Atlas project with IP-restricted Encryption at Rest enabled.
Export snapshots over Private Endpoints (private exports) for Azure or Google Cloud clusters.
Required Access
To create or manage a Cloud Backup export schedule or configure a Cloud Backup export bucket in Atlas, you must have
Project Backup ManagerorProject Ownerto the project.To create or manage a Cloud Backup export job, you must have
Project Backup Export OperatororProject Owneraccess to the project.To create or manage a Cloud Backup object storage private endpoint, you must have
Project Owneraccess to the project.
Configure and Run Exports
Prerequisites
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:
Locate the ID of your Google Cloud service account in Atlas by following the steps in View Authorized Google Cloud Service Accounts.
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.
Export Snapshots Automatically
To create an export policy for automatic exports, run the following procedure:
Export a Single Snapshot Manually
To create an export job for a single snapshot, run the following procedure: