Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2231

Failed: error dumping users and roles: error reading collection: Failed to parse:

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.0.6
    • Component/s: mongodump
    • Labels:
      None
    • Environment:
      Linux Debian 9

      Hello everyone,

      I did the upgrade to mongodb to 3.6.10 to 4.0.6 manually and I am trying to do a backup with this
      command mongodump --host 192.168.9.4 --port 27017 --out /var/tmp/mongodb but I got the next message:

      2019-02-28T10:27:54.467-0600 writing admin.system.users to
      2019-02-28T10:27:54.469-0600 Failed: error dumping users and roles: error reading collection: Failed to parse: { find: "system.users", skip: 0, snapshot: true, $readPreference:

      { mode: "secondaryPreferred" }

      , $db: "admin" }. Unrecognized field 'snapshot'.

       

      Can you help me please?

       

      Regards,,,

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            jorge_acampos48@yahoo.es Jorge Campos
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: