[DOCS-9983] In the 3.0 and later manuals it says "... must use mongoimport while connected to a mongod instance." Created: 08/Mar/17  Updated: 30/Oct/23  Resolved: 30/Oct/17

Status: Closed
Project: Documentation
Component/s: tools
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Major - P3
Reporter: William Byrne III Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Documentation for versions 3.0, 3.2, and 3.4 re mongoimport, mongoexport, mongodump, mongorestore


Participants:
Days since reply: 6 years, 49 weeks ago

 Description   

When mongoimport, mongoexport, mongodump and mongrestore were rebuilt in Go in version 3.0, they could no longer link in in libraries from mongod and thus could not read/write from/to the files in the DBPATH without going via a running mongod.

For all four tools there is a comment/warning like:

"Changed in version 3.0.0: mongoimport removed the --dbpath as well as related
--directoryperdb and --journal options. You must use mongoimport while connected
to a mongod instance."

This confused my customer with a sharded cluster who tried to bypass his mongos to write directly to a mongod for the shard ...

The comment/warning should be updated to something like " ... without going via a running mongod or mongos as appropriate."



 Comments   
Comment by Githook User [ 08/Mar/17 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-9983 update note regarding drop of --dbpath and other options for tools
Branch: v3.0
https://github.com/mongodb/docs/commit/0f2cea434c97e504dc52c31f92a5cc2db2449507

Comment by Githook User [ 08/Mar/17 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-9983 update note regarding drop of --dbpath and other options for tools
Branch: v3.2
https://github.com/mongodb/docs/commit/f6ec2d75079018464a2181bd748c94b11d54379d

Comment by Githook User [ 08/Mar/17 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-9983 update note regarding drop of --dbpath and other options for tools
Branch: master
https://github.com/mongodb/docs/commit/44c1a5f02cdb607ef6fe71d49e643b2cf4407ef8

Generated at Thu Feb 08 07:59:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.