Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4232

Inbuilt Backup role does not actually allow full backups using mongodump (e.g. system.profile)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.3.17
    • Component/s: manual
    • Labels:
      None
    • Last comment by Customer:
      true
    • Actual Time:
      4

      Description

      Our documentation on in-built roles seems to imply that the backup role is sufficient to allow backups using mongodump:

      Provides minimal privileges needed for backing up data. This role provides sufficient privileges to use the MongoDB Management Service (MMS) backup agent, or to use mongodump to back up an entire mongod instance.

      However, if you actually try to use mongodump with a user that only has backup, then it may error out on the system.profile collection, if this exists.

      This caveat is mentioned on the mongodump documentation page (http://docs.mongodb.org/manual/reference/program/mongodump/), however, I believe it should also be made clear on the in-built roles page as well.

        Attachments

          Activity

            People

            Assignee:
            michael.paik Michael Paik
            Reporter:
            victor.hooi Victor Hooi
            Participants:
            Last commenter:
            Jonathan Dahl Jonathan Dahl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              6 years, 45 weeks, 2 days ago
              Date of 1st Reply: