Last active
August 29, 2015 14:06
-
-
Save olavocneto/12238d730d4f489d256e to your computer and use it in GitHub Desktop.
mongo help
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Connect meteor server mongo database | |
mongo 127.0.0.1:3001/meteor | |
# Connect local mongo database | |
mongo 127.0.0.1:27017/meteor | |
mongodump -h 127.0.0.1:3001 -d meteor -o dump/meteor/ | |
mongorestore -u client -h production-db-b1.meteor.io:27017 -d db_meteor_com -p 'xyz' dump/meteor/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment