Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
None
-
2
Description
Some context:
- Mongo-tools connect via an atlas proxy if they connect to a shared tier cluster (m0/m2/m5).
- CLOUDP-124662 is restricting commands that can be run on the admin DB through an atlas proxy.
As part of TOOLS-3229, the following updates were made:
For mongorestore:
- will not restore to the admin database if connected to an atlas proxy
- will error in the following scenarios if connected to an atlas proxy: --restoreDbUsersAndRoles is specified, --db is specified as admin, or --oplogReplay is specified.
For mongodump:
- will not dump from the admin database if connected to an atlas proxy
- will error in the following scenarios if connected to an atlas proxy: --dumpDBUsersAndRoles is specified, --db is specified as admin, or --oplog is specified.
Attachments
Issue Links
- documents
-
TOOLS-3229 Ignore admin database in dump/restore for atlasProxy
-
- Closed
-
- related to
-
DOCS-15886 [Tools] Add documentation for mongodump and mongorestore limitations with shared clusters
-
- Backlog
-