Mongorestore在Docker中使用MongoDB被困
我有一个由mongodump -gzip
创建的.gz
档案。我想从该档案馆还原数据库。我使用
mongorestore --gzip --archive=filename.gz --db db_name
然后陷入困境(尚未完成两个小时) mongorestore
我的mongoDB正在docker
中运行,我正在尝试将其还原在容器中。
I have a .gz
archive that was created by mongodump --gzip
. I want to restore a database from this archive. I use
mongorestore --gzip --archive=filename.gz --db db_name
and then the process stuck (hasn't finished for two hours) mongorestore stuck on this
my MongoDB is running in docker
and i'm trying to restore it inside the container.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论