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

Do not grab $admin.system.users on a full restore

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.8.0-rc3
    • None
    • None
    • None
    • 2014 Last MCI Iteration

    Description

      If we do a full restore that includes db directories that were generated with --dumpDbUsersAndRoles, (e.g. dump/foo/$admin.system.users.bson) we currently overwrite the real users collection (dump/admin/system.users.bson) with the db-specific one. This behavior is unintuitive; we should instead ignore the $admin files during a full restore.

      Attachments

        Activity

          People

            kyle.erf Kyle Erf
            kyle.erf Kyle Erf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: