Backup Cluster Metadata¶
This procedure shuts down the
mongod instance of a
config server in order to create a
backup of a sharded cluster’s
metadata. The cluster’s config servers store all of the cluster’s
metadata, most importantly the mapping from chunks to
When you perform this procedure, the cluster remains operational .
- Disable the cluster balancer process temporarily. See Disable the Balancer for more information.
- Shut down one of the config databases.
- Create a full copy of the data files (i.e. the path specified by
dbPathoption for the config instance.)
- Restart the original configuration server.
- Re-enable the balancer to allow the cluster to resume normal balancing operations. See the Disable the Balancer section for more information on managing the balancer process.
|||While one of the three config servers is unavailable, the cluster cannot split any chunks nor can it migrate chunks between shards. Your application will be able to write data to the cluster. See Config Servers for more information.|