Back Up a Sharded Cluster with Database Dumps¶
cannot be part of a backup strategy for 4.2+ sharded clusters
that have sharded transactions in progress, as backups created with
mongodump do not maintain the atomicity guarantees
of transactions across shards.
For 4.2+ sharded clusters with in-progress sharded transactions, use one of the following coordinated backup and restore processes which do maintain the atomicity guarantees of transactions across shards:
For MongoDB 4.0 and earlier deployments, refer to the corresponding versions of the manual. For example: