[DOCS-2794] MMS Backup Authentication requirements are missing otherDbRoles Created: 26/Feb/14  Updated: 02/Sep/14  Resolved: 26/Feb/14

Status: Closed
Project: Documentation
Component/s: Cloud Manager
Affects Version/s: None
Fix Version/s: v1.3.1

Type: Task Priority: Blocker - P1
Reporter: Cailin Nelson Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by DOCS-2792 Backup auth credentials requirements ... Closed
Related
Participants:
Days since reply: 9 years, 51 weeks, 1 day ago

 Description   

The correct authentication requirements are:

db.addUser(
{
  user: 'USERNAME',
  pwd: 'PASSWORD',
  roles: ['readAnyDatabase', 'clusterAdmin', 'userAdminAnyDatabase'],
  otherDBRoles: {local: ['readWrite'], admin: ['readWrite']}
}
);



 Comments   
Comment by Githook User [ 26/Feb/14 ]

Author:

{u'name': u'kay-kim', u'email': u'kay.kim@mongodb.com'}

Message: DOCS-2794 add otherDBRoles for backup
Branch: master
https://github.com/10gen/mms-docs/commit/4ad59969aaf918ad2ef6c08af84c8d16f5795734

Comment by Cailin Nelson [ 26/Feb/14 ]

Users affected by this issue should take the following action:

1. Connect to their replica set as a user administrator.

2. Execute the following:

use admin
db.system.users.update({"user":"USERNAME"}, {$set:{ otherDBRoles: {local: ['readWrite'], admin: ['readWrite'] } } } )

3. Restart their Backup Agent.

Please note that lacking this permission does not cause any issues with the integrity of the user's Backup. It simply leads to warnings in the Backup Agent log, and also can lead to spurious "Oplog Behind" errors for users with very low-write replica sets.

Generated at Thu Feb 08 07:44:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.