【发布时间】:2018-05-22 17:33:38
【问题描述】:
我找到了很多关于如何使用 mongodump 和 mongorestore 来备份我的流星生产服务器并在需要时恢复备份的良好说明:
meteor mongo --url myApp.meteor.com
mongodump -u client -h production-db-b2.meteor.io:27017 -d myApp_meteor_com -out dump/2014_10_21 -p [password from meteor mongo --url]
mongorestore -u client -h production-db-b2.meteor.io:27017 -d myApp_meteor_com dump/2014_10_21_v2/myApp_meteor_com -p [password from meteor mongo --url]
我还没有找到关于如何将备份转储到我的本地流星应用程序的解释。我的应用程序文件夹中有一个 mongodump 输出。我不确定我是否可以使用 mongorestore 或者是否还有其他我应该做的事情。
【问题讨论】:
标签: mongodb meteor mongodump mongorestore