Mongorestore doesn't auth against admin DB when using username and password arguments

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.2.1, 2.3.0
    • Affects Version/s: 2.2.0
    • Component/s: Tools
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The problem is the only way to specify the database to authenticate to is to use the -d parameter, this parameter also means the target database to restore to. And with -d specified, you can only restore single db at time.

      Current work around is to either (1) temporarily turn off auth or (2) add users with write privilege for every database you want to restore.

      Other tools probably have the same issue.

              Assignee:
              Spencer Brody (Inactive)
              Reporter:
              Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: