[DOCS-10442] Mongodump defaults to "admin" database for authentication Created: 27/Jun/17  Updated: 30/Oct/23  Resolved: 07/Jul/17

Status: Closed
Project: Documentation
Component/s: tools
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Minor - P4
Reporter: Danny Hatcher (Inactive) Assignee: Allison Reinheimer Moore
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 6 years, 30 weeks, 6 days ago

 Description   

The documentation for mongodump's --authenticationDatabase states that if an authentication database is not specified, mongodump uses the database being dumped. However, you can run mongodump without specifying a specific database to be dumped. In this scenario, mongodump uses the "admin" database for authentication credentials.

Please add a line to the documentation saying something like:

If you do not specify an authentication database, mongodump assumes that the database specified to export holds the user’s credentials.

If you do not specify an authentication database or a specific database to be dumped, mongodump assumes that the user's credentials are located within the admin database.



 Comments   
Comment by Githook User [ 14/Jul/17 ]

Author:

{u'username': u'schmalliso', u'name': u'Allison Moore', u'email': u'allison.moore@10gen.com'}

Message: DOCS-10442: moves authenticationDatabase description to a pre block

Signed-off-by: kay <kay.kim@10gen.com>
Branch: wip-3.6
https://github.com/mongodb/docs/commit/998cbc80a4b18eb8559bd63b8e76d1aa379b074e

Comment by Githook User [ 14/Jul/17 ]

Author:

{u'username': u'schmalliso', u'name': u'Allison Moore', u'email': u'allison.moore@10gen.com'}

Message: DOCS-10442: tools default to admin if no db & no auth db spec'd

Signed-off-by: kay <kay.kim@10gen.com>
Branch: wip-3.6
https://github.com/mongodb/docs/commit/878139ea38a2a1dc475c1deb9caa1f0832416660

Comment by Githook User [ 11/Jul/17 ]

Author:

{u'username': u'schmalliso', u'name': u'Allison Moore', u'email': u'allison.moore@10gen.com'}

Message: DOCS-10442: moves authenticationDatabase description to a pre block

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/1e063850120cf3985b7b6ae1192a0ee82ce9a754

Comment by Githook User [ 11/Jul/17 ]

Author:

{u'username': u'schmalliso', u'name': u'Allison Moore', u'email': u'allison.moore@10gen.com'}

Message: DOCS-10442: tools default to admin if no db & no auth db spec'd

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/5802223bf4fe789299e8f53e5f0d8b280418c586

Generated at Thu Feb 08 08:00:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.