meteor Mongo Database Management Export a Collection to JSON


Example

Run meteor, open another terminal window, and run the following command.

mongoexport --db meteor --collection foo --port 3001 --out foo.json