-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
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!
- related to
-
TOOLS-88 mongoexport: option to export an entire database
- Closed