Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-80299

Cannot use mongodump on db v7.0.0

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 7.0.0
    • Component/s: None
    • Labels:
      None
    • Server Triage
    • ALL
    • Hide

      Use `mongodump v100.8.0` on a db of version `7.0.0`

      Show
      Use `mongodump v100.8.0` on a db of version `7.0.0`

      Dumping a v7.0.0 db with `mongodump` version `100.8.0` gives

       

      ```2023-08-21T09:18:15.777+0100 Failed: error creating intents to dump: error creating intents for database config: error getting collections for database `config`: (Unauthorized) not authorized on config to execute command { listCollections: 1, filter: {}, cursor: {}, lsid:

      { id: UUID("5552942c-94f3-4c0b-ac87-63c67b236814") }

      , $db: "config" }```

      I believe this is expected as `mongodump`s [latest docs](https://www.mongodb.com/docs/database-tools/mongodump/#mongodb-server-compatibility) do not advertise support for the latest db version. Presumably this requires `mongodump` to be updated.

            Assignee:
            rhea.thorne@mongodb.com Alison Rhea Thorne
            Reporter:
            joshkirk@duck.com Josh Kirk
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: