Navigation

Back Up a Sharded Cluster with Database Dumps

Note

Starting in MongoDB 4.2, mongodump and mongorestore cannot be part of a backup strategy for sharded clusters. These manual tools do not maintain the atomicity guarantees of transactions across shards.

To maintain the atomicity guarantees of transactions across shards, use the coordinated backup and restore services provided by:

For MongoDB 4.0 and earlier deployments, refer to the corresponding versions of the manual. For example: