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

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

    XMLWordPrintableJSON

Details

    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

            ian.fogelman@mongodb.com Ian Fogelman
            maria.vankeulen@mongodb.com Maria van Keulen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              27 weeks, 1 day ago