[DOCS-15886] [Tools] Add documentation for mongodump and mongorestore limitations with shared clusters Created: 07/Feb/23  Updated: 22/Jan/24

Status: Backlog
Project: Documentation
Component/s: Server, tools
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: David Hou Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: backlog, request
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents TOOLS-3229 Ignore admin database in dump/restore... Closed
Related
is related to DOCS-15850 [Atlas] Add documentation for mongodu... Closed
Participants:
Days since reply: 1 year, 1 day ago

 Description   

Follow-up ticket for Server changes from https://jira.mongodb.org/browse/DOCS-15850

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.


 Comments   
Comment by David Hou [ 07/Feb/23 ]

rohan.sharan@mongodb.com Created this follow-up ticket in response to the following related PR: https://github.com/10gen/cloud-docs/pull/4140

Generated at Thu Feb 08 08:14:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.