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

Backup role can't read system.profile

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • Security E (01/01/16)

    Description

      If you have a database with a system.profile collection and try to back it up with mongodump authenticated as a user with the backup role you get

      >mongodump -u backup -p pwd
      2015-12-01T19:20:53.419-0500    Failed: error counting test.system.profile: not authorized on test to execute command { count: "system.profile", query: {} }
      

      Either we should give the backup role the ability to back up system.profile collections, or we should modify mongodump to not attempt to back up those collections.

      Attachments

        Issue Links

          Activity

            People

              spencer.jackson@mongodb.com Spencer Jackson
              spencer@mongodb.com Spencer Brody (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: