Database Manual / Self-Managed Deployments / Administration / Backup Methods

Backup and Restore a Self-Managed Sharded Cluster备份和恢复自我管理的分片群集

The following tutorials describe backup and restoration for sharded clusters:以下教程介绍了分片集群的备份和恢复:

Tip

To use mongodump and mongorestore as a backup strategy for sharded clusters, see Back Up a Self-Managed Sharded Cluster with a Database Dump.要使用mongodumpmongorestore作为分片集群的备份策略,请参阅使用数据库转储备份自管理分片集群

Sharded clusters can also use one of the following coordinated backup and restore processes, which maintain the atomicity guarantees of transactions across shards:分片集群还可以使用以下协调的备份和恢复过程之一,以维护跨分片事务的原子性保证:

Back Up a Self-Managed Sharded Cluster with File System Snapshots使用文件系统快照备份自我管理的分片群集
Use file system snapshots back up each component in the sharded cluster individually. The procedure involves stopping the cluster balancer. If your system configuration allows file system backups, this might be more efficient than using MongoDB tools.使用文件系统快照分别备份分片集群中的每个组件。该过程涉及停止群集平衡器。如果系统配置允许文件系统备份,这可能比使用MongoDB工具更有效。
Back Up a Self-Managed Sharded Cluster with a Database Dump使用数据库转储备份自我管理的分片集群
Create backups using mongodump to back up each component in the cluster individually.使用mongodump创建备份,以单独备份集群中的每个组件。
Schedule Backup Window for a Self-Managed Sharded Cluster为自我管理的分片集群安排备份窗口
Limit the operation of the cluster balancer to provide a window for regular backup operations.限制群集平衡器的操作,为常规备份操作提供一个窗口。
Restore a Self-Managed Sharded Cluster恢复自我管理的分片群集
An outline of the procedure and consideration for restoring an entire sharded cluster from backup.从备份中恢复整个分片集群的过程和考虑因素概述。