Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
288 views
in Technique[技术] by (71.8m points)

mongorestore 恢复失败

如下,Mac os x系统上备份的数据想恢复到云服务器上的mongo容器内,其他几个库恢复正常,这个库是最近新建的,恢复失败了

mongorestore --authenticationDatabase admin -u admin --nsInclude='wallhaven.*'   wallhaven/
2020-09-23T18:56:36.654+0800    preparing collections to restore from
2020-09-23T18:56:36.654+0800    don't know what to do with file "wallhaven/thumb.bson", skipping...
2020-09-23T18:56:36.654+0800    don't know what to do with file "wallhaven/thumb.metadata.json", skipping...
2020-09-23T18:56:36.654+0800    0 document(s) restored successfully. 0 document(s) failed to restore.

mac系统mongodb版本为4.0.4, 云服务器与docker容器mongo的版本都是4.4.1


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...