Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-3321

Document implicit usage of --db/-d as authSource for mongodump & other database tools in --help output

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 1
    • 356

      Currently, mongodump and the other database tools accept both the authSource connection string component (see docs) and a --db / -d command line argument (see docs). An implicit behavior here is, if authSource is not specified, the --db / -d command line argument is interpreted as the authentication database, rather than the database to back up. It'd be great if we could mention this in the docs.

            Assignee:
            Unassigned Unassigned
            Reporter:
            maria.vankeulen@mongodb.com Maria van Keulen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: