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

Unrecognized field snapshot #315

Open dobrozhanskyi opened 5 years ago

dobrozhanskyi commented 5 years ago

I got this error when i'm running backup mongo-4.0.12


[2019-09-04 09:13:22,505] [INFO] [MongodumpThread-6] [MongodumpThread:wait:130] s0/mongodb-staging-secondary-0.mongodb-staging-headless.mongodb-staging.svc.cluster.local:27017:    Failed: error dumping users and roles: error writing data for collection `admin.system.users` to disk: error reading collection: Failed to parse: { find: "system.users", skip: 0, snapshot: true, $readPreference: { mode: "secondaryPreferred" }, $db: "admin" }. Unrecognized field 'snapshot'.
[2019-09-04 09:13:26,325] [ERROR] [MainProcess] [Stage:run:87] State mongodb_consistent_backup.Backup returned error: Not all mongodump threads completed successfully!
[2019-09-04 09:13:26,326] [ERROR] [MainProcess] [Stage:run:100] Stage mongodb_consistent_backup.Backup did not complete!
[2019-09-04 09:13:26,326] [CRITICAL] [MainProcess] [Main:exception:207] Problem performing replset mongodump! Error: Stage mongodb_consistent_backup.Backup did not complete!```
CluelessTechnologist commented 5 years ago

I got this error when i'm running backup mongo-4.0.12

Same issue here on mongo-4.0.5. Did you mange to solve the issue?

bekenovalibek commented 4 years ago

I got same error on v4.2.3

bekenovalibek commented 4 years ago

@timvaillancourt please turn your attention to this problem

delgod commented 4 years ago

@bekenovalibek this tool is not supported anymore; please use https://github.com/percona/percona-backup-mongodb

please escalate the issue via regular channels if you have a contract with Percona