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

Document auth roles required for the backup agent to backup MongoDB 2.6 instances

    XMLWordPrintableJSON

Details

    Description

      Link: http://mms.mongodb.com/help/reference/authentication/

      This page documents the required roles to monitor MongoDB 2.6 and 2.4 instances separately. However, it doesn't document the required roles to backup MongoDB 2.6 instances. Currently the document on the required roles for the backup agent and the command to add the user only applies to MongoDB 2.4 instances.

      In MongoDB 2.6, there is a new built-in role backup that can be used for the backup agent. The command to add a user with backup role in MongoDB 2.6 is:

      use admin
      db.createUser( { user: "<username>",
                       pwd: "<password>",
                       roles: [
                         { role: "backup", db: "admin" }
                       ] } )

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            linda.qin@mongodb.com Linda Qin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 24 weeks, 1 day ago