Percona-Lab / mongodb_consistent_backup

A tool for performing consistent backups of MongoDB Clusters or Replica Sets
https://www.percona.com
Apache License 2.0
276 stars 81 forks source link

Sharding is not enabled on collection after backing up #256

Closed cryax closed 5 years ago

cryax commented 6 years ago

Sharding is not enabled on collection after backing up

timvaillancourt commented 5 years ago

Hi @cryax. The mongodb_consistent_backup tool does not change the state of collections sharding, it only calls Mongodump after performing read-only queries.

In fact, if the authentication user is setup correctly (see README.md section) mongodb_consistent_backup does not have access to the commands to change collections if it tried to.

Closing this issue for now. Please test and re-open with logs, errors or steps/versions to reproduce this issue.