mongodb恢复分片集群数据

我有从集群备份好的三个share的数据
image.png
一个share中有三个数据库

其中包含数据分片
image.png
我在本地mongod一个test实例
当我使用mongorestore dir(数据库备份数据路径)是出现错误
image.png
don't know what to do with file ‘...chunk-’
以及Failed: the users and roles collections in the dump have an incompatible auth version with target server: cannot restore users of auth version 1 to a server of auth version 5
请问该如何解决,想知道如何恢复分片集群的数据?向大佬求教

阅读 1.1k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进