[DOCS-311] Mongoexport manual suggests that it should export all collections by default Created: 29/Jun/12  Updated: 08/Sep/12  Resolved: 29/Jun/12

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

Type: Task Priority: Major - P3
Reporter: Stennie Steneker (Inactive) Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to TOOLS-88 mongoexport: option to export an enti... Closed
Participants:
Days since reply: 11 years, 33 weeks, 5 days ago

 Description   

The wiki docs for mongoexport suggest that it is a tool for exporting a collection:
http://www.mongodb.org/display/DOCS/mongoexport

The manual suggests that it should export all collections by default:
http://docs.mongodb.org/manual/reference/mongoexport/#cmdoption-mongoexport--collection

--collection <collection>, -c <collection>
Use the --collection option to specify a collection for mongoexport to export. If you do not specify a <collection>, all collections will exported.

Have tested with 2.0.6 and 2.1.2, but cannot export all collections:

~/mongodb-osx-x86_64-2.0.6/bin/mongoexport -d test  
connected to: 127.0.0.1
no collection specified!

~/mongodb-osx-x86_64-2.1.2/bin/mongoexport -d test
connected to: 127.0.0.1
no collection specified!



 Comments   
Comment by auto [ 29/Jun/12 ]

Author:

{u'date': u'2012-06-29T10:25:10-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: DOCS-311 clarifications to mongoexport collection and database arguments
Branch: master
https://github.com/mongodb/docs/commit/d66925550534fba5814868b222ba7d02aaca6aae

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