-
Type: Question
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: mongorestore
-
None
-
1,483
-
(copied to CRM)
Hi
Following TOOLS-2570
I wondered what is the reason behind this limitation in mongorestore
“if restore.InputOptions.RestoreDBUsersAndRoles && restore.NSOptions.DB == “admin”
{ return fmt.Errorf(“cannot use --restoreDbUsersAndRoles with the admin database”) }”
and if this should also be in docs, as there are several tickets of customers hitting this problem. I linked one of the support tickets.
https://support.mongodb.com/case/00713063
thanks