[DOCS-2735] mongoimport page fixes Created: 17/Feb/14  Updated: 28/Feb/14  Resolved: 28/Feb/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.1

Type: Improvement Priority: Major - P3
Reporter: Joanna Cheng Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: audit-2014
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Participants:
Days since reply: 9 years, 50 weeks, 5 days ago

 Description   

1. First paragraph

...and the mongoexport document for more information regarding mongoexport, which provides the inverse “importing” capability

should be

...and the mongoexport document for more information regarding mongoexport, which provides the inverse “exporting” capability

2. mongoimport doesn't have a --quiet option (which is a pity, it's quite useful)

joannac@Joannas-MacBook-Pro:~/scratch$ mongoimport -d test -c foo --quiet testfoo.json
ERROR: unknown option quiet
joannac@Joannas-MacBook-Pro:~/scratch$ mongoimport --version
mongoimport version 2.4.9

3. --verbose doesn't seem to have any action other than making the import slower – no difference in output on stdout or mongod logs. Maybe it would be visible if I turned my logLevel up but the docs seem to imply an increase in verbosity without it.

4. Put username/password before --ssl since ssl is so new, username/password is more common

5.

n the following example, mongoimport imports the data in the JSON formatted file contacts.json into the collection contacts on the MongoDB instance running on the localhost port number 27017. Journaling is explicitly enabled.
mongoimport --collection contacts --file contacts.json


(journalling isn't enabled in this example)

6.

In the next example, mongoimport takes data passed to it on standard input (i.e. with a | pipe.) and imports it into the collection contacts in the sales database is the MongoDB datafiles located at /srv/mongodb/.


should be something like

...in the sales database, which is backed by the MongoDB datafiles...

The sentence as is doesn't make sense



 Comments   
Comment by Githook User [ 28/Feb/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2735: edits in response to audit feedback
Branch: master
https://github.com/mongodb/docs/commit/e74dd3755a4d3b4b98a94cacc2617f05992c3abb

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