Run ~ / meteor / meteorite mongo -U yoapp
You will get something like this
mongodb://client:387shff-fe52-07d4-69a4-ba321f3665fe7@c0.meteor.m0.mongolayer.com:27017/yoapp_meteor_com
Take values ββand type in mongorestore like this
mongorestore -u client -p 387shff-fe52-07d4-69a4-ba321f3665fe7 -h c0.meteor.m0.mongolayer.com:27017 -db yoapp_meteor_com /home/user/dump/yoapp
I just dropped the prod application on my local dev machine. Checking for some new changes. He pushed the code into an intermediate installation on meteor.com, and then used mongorestore to populate the intermediate database.
Steeve Cannon Apr 07 '13 at 17:39
source share