Improve User/Role restore and selectivity

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: mongorestore
    • None

      There is currently no way of restoring users and roles to new databases with mongorestore. --nsFrom and --nsTo don't affect user restore.

      Related: https://jira.mongodb.org/browse/TOOLS-104

      The situation with --db with --restoreDbUsersAndRoles is a bit more complicated now that --nsInclude and the related options have been added. --db is now only meant to be used to describe which database a single bson file should be restored into. So --restoreDbUsersAndRoles really shouldn't require it at all anymore. We need to rationalize exactly what behavior we expect and then implement it.

              Assignee:
              Unassigned
              Reporter:
              Tim Fogarty
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: