Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-311

Mongoexport manual suggests that it should export all collections by default

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 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!
      

            Assignee:
            sam.kleinman Sam Kleinman (Inactive)
            Reporter:
            stephen.steneker@mongodb.com Stennie Steneker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              11 years, 46 weeks ago