Back Up a Sharded Cluster with Database Dumps用数据库转储备份分片群集

Note注意

mongodump and mongorestorecannot 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.对于正在进行分片事务的4.2+分片集群,mongodump和MongoRestore不能作为备份策略的一部分,因为使用mongodump创建的备份无法维持跨分片事务的原子性保证。

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:对于具有进行中分片事务的4.2+分片群集,请使用以下协调的备份和恢复过程之一,这些过程确实维护了跨分片事务的原子性保证:

For MongoDB 4.0 and earlier deployments, refer to the corresponding versions of the manual. 有关MongoDB 4.0及更早版本的部署,请参阅手册的相应版本。For example:例如:

←  Back Up a Sharded Cluster with File System SnapshotsSchedule Backup Window for Sharded Clusters →