Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2484

Improve User/Role restore and selectivity

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mongorestore
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              tim.fogarty Tim Fogarty
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: