-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: manual
-
Labels:None
In the steps to backup a config server '(Backup a Sharded Cluster with Filesystem Snapshots)' in the section entitled 'If the sharded cluster uses CSRS' it says to run the following command:
db.changelog.find({what:/^moveChunk/}).sort({time:-1}).next().what"
This results in a syntax error, due to the spurious '.what"' at the end of the command.
This command should end at the '.next()' (noting too that this command will fail if no chunk migrations have taken place yet, e.g. for a new cluster)
GitHub source is here: https://github.com/mongodb/docs/blob/master/source/includes/steps-backup-sharded-cluster-with-snapshots.yaml#L96
- is related to
-
DOCS-6597 Update documented sharded cluster backup and restore procedures for CSRS
- Closed