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

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

      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" }
                       ] } )
      

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

              Created:
              Updated:
              Resolved:
              9 years, 35 weeks, 2 days ago