Can not restore users to another database using mongorestore

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: Legacy C++ Implementation, 3.6.2
    • Component/s: mongorestore
    • Platforms 2017-01-23
    • 2
    • 2,064

      1. Run mongodump -d TEST1 --dumpDbUsersAndRoles to dump data and users from database TEST1
      2. Run mongorestore -d TEST2 --restoreDbUsersAndRoles dump/TEST1/ to restore data and users to another database TEST2.
        Data will be restored to database TEST2, but the users will be restored to database TEST1.

            Assignee:
            Unassigned
            Reporter:
            Linda Qin
            Votes:
            6 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: