Navigation

Restore Legacy Backup Jobs

Legacy Backup Deprecated

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

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.

Create and retrieve restores jobs for a MongoDB cluster. A restore job restores a MongoDB cluster to its state from an existing snapshot.

Legacy Backups Only

This resource only applies to clusters using Legacy Backups.

Endpoints

Method Endpoint Description
GET /groups/{GROUP-ID}/clusters/{CLUSTER-NAME}/restoreJobs Retrieve all restore jobs for the specified cluster.
GET /groups/{GROUP-ID}/clusters/{CLUSTER-NAME}/restoreJobs/{JOB-ID} Retrieve one restore job for the specified cluster.
POST /groups/{GROUP-ID}/clusters/{CLUSTER-NAME}/restoreJobs

Create one restore job for the specified cluster.

All requests to this endpoint must originate from an IP address in the organization’s API access list.