Navigation

Snapshots

Continuous Backup Deprecated

MongoDB deprecated the Continuous Backup feature. Clusters that use Continuous Backup can continue to use it. MongoDB recommends using Cloud Provider Snapshots. Effective 23 March 2020, all net new clusters can only use Cloud Provider Snapshots.

Note

Groups and projects are synonymous terms. Your {GROUP-ID} is the same as your project ID. For existing groups, your group/project ID remains the same. The resource and corresponding endpoints use the term groups.

Continuous Backups Only

This resource only applies to clusters using Continuous Backups.

The snapshots resource enables you to view snapshot metadata, edit snapshot expiration dates, and remove existing snapshots. A snapshot is a backup of your data captured at a specific point in time.

Endpoints

Method Endpoint Description
GET /groups/{GROUP-ID}/clusters/{CLUSTER-NAME}/snapshots Get all snapshots for the specified cluster.
GET /groups/{GROUP-ID}/clusters/{CLUSTER-NAME}/snapshots/{SNAPSHOT-ID} Get the specified snapshot for the cluster.
PATCH /groups/{GROUP-ID}/clusters/{CLUSTER-NAME}/snapshots/{SNAPSHOT-ID}

Change the expiration date for the specified snapshot.

All requests to this endpoint must originate from an IP address on the Atlas user’s API whitelist. For complete documentation on configuring API whitelists, see Enable API Whitelisting for Your Organization.

DELETE /groups/{GROUP-ID}/clusters/{CLUSTER-NAME}/snapshots/{SNAPSHOT-ID}

Delete the specified snapshot.

All requests to this endpoint must originate from an IP address on the Atlas user’s API whitelist. For complete documentation on configuring API whitelists, see Enable API Whitelisting for Your Organization.