Skip to content

Instantly share code, notes, and snippets.

@danhanfry
Created February 16, 2017 21:12
Show Gist options
  • Save danhanfry/9262847fb127b0f483695d81ee42d0b5 to your computer and use it in GitHub Desktop.
Save danhanfry/9262847fb127b0f483695d81ee42d0b5 to your computer and use it in GitHub Desktop.
mongoexport --host localhost --username XXX --password XXX --collection XXX --db XXX --out XXX.json
mongoexport --host localhost --username XXX --password XXX --collection XXX --db XXX --type=csv --fields XXX --out XXX.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment