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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • 1
    • 33

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: