Docs Menu
Docs Home
/ /

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.

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 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.
Back Up a Self-Managed Sharded Cluster with a Database Dump
Create backups using mongodump to back up each component in the cluster individually.
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 from Snapshots
An outline of the procedure and consideration for restoring an entire sharded cluster from backup.
Restore a Self-Managed Sharded Cluster from Database Dumps
Restore a sharded cluster from a backup created with mongodump.

Back

Restore a Replica Set from MongoDB Backups