Docs Home → MongoDB Cloud Manager
Back up a Deployment
On this page
You can back up your MongoDB deployment.
Important
Only sharded clusters or replica sets can be backed up. To back up a standalone mongod process, you must convert it to a single-member replica set.
Considerations
Cloud Manager builds snapshots using the latest patch release of MongoDB.
Example
Consider a deployment where the current MongoDB version is 4.0.20.
If you back up a database running MongoDB 4.0.15, Cloud Manager creates the snapshot using MongoDB 4.0.20, the current version. Cloud Manager displays that snapshot as MongoDB 4.0.20 in the console.
MongoDB guarantees all patch release versions to be compatible. You can use the snapshots built with 4.0.20 to restore to your 4.0.15 instances, if needed.
Prerequisites
Unique Names for Deployment Items
Ensure your deployment items have unique names before creating backups.
Important
Replica set, sharded cluster, and shard names within the same project must be unique. Failure to have unique names for the deployments will result in broken backup snapshots.
Replica Set Requirements
A Replica Set must:
Sharded Cluster Requirements
A Sharded Cluster must:
MongoDB FCV 4.2 Compatibility
All FCV 4.2 and later databases must fulfill the appropriate backup considerations.
MongoDB Compatibility
The MongoDB version must meet the minimum compatibility.