Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-10493

Update tools to support backing up and restoring user data properly with new user format 2.6

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.4
    • Affects Version/s: None
    • Component/s: Security, Tools
    • Labels:
    • Minor Change

      After the server has been updated to storing user information in the new system.userinfo and system.roleinfo collections (which will forbid direct modification, requiring commands to change any user data), the tools will have to be updated to be able to properly handle backing up and restoring user and role information.

      It's still not completely clear how best this should be done - should we create a role that is allowed to do direct modification of system.userinfo and system.roleinfo and require such a role for the backup tools? Or do we need to update mongoimport and mongorestore to be able to use the proper user management commands to restore user information from a dump of system.userinfo and system.roleinfo?

            schwerin@mongodb.com Andy Schwerin
            spencer@mongodb.com Spencer Brody (Inactive)
            0 Vote for this issue
            2 Start watching this issue