If you mongodump a 2.4 system with user data, then try to mongorestore that to a clean 2.6 system with no users, it will fail saying that you're trying to restore users with an outdated schema. This is because
{getParameter:1, authSchemaVersion:1}reports upgraded 2.6 systems with users and clean 2.6 systems with no users as the same schema version. We should be able to detect when the system we're talking to has v3 authorization schema only because it has no users or roles yet, and allow the restore to proceed with v2.4 schema users.
- is related to
-
SERVER-12369 Update mongodump and mongorestore to properly handle backing up users and roles in 2.6
- Closed
- related to
-
SERVER-12854 Prevent mongorestore from restoring user data to a 2.6 system with 2.4 schema users
- Closed
-
TOOLS-124 MongoRestore backwards compatibility Guarantees
- Closed