First you need to deploy a meteor.
Then if you run
meteor mongo
you will get the result something like this:
MongoDB Shell Version: 2.2.1
connection to: 127.0.0.1∗001/meteor
The Meteor db host is at 127.0.0.1 with port 3001. Exit the mongo shell and use mongodump from your terminal.
mongodump -h 127.0.0.1 --port 3001 -d meteor
Dumps will be located under the dump folder in the folder in which you executed the above command.
You can import your db back to the meteor with
mongorestore -h 127.0.0.1 --port 3001 -d meteor dump/meteor
kask May 29 '13 at 14:37 2013-05-29 14:37
source share