如下,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
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…