mongodb - 转储恢复抛出错误

时间:2015-07-27 12:16:39

标签: mongodb

我在将转储恢复到mongodb时遇到此错误,

Mon Jul 27 14:08:52.936         going into namespace [test.BC_2022_tmp]
Mon Jul 27 14:08:52.936 warning: Restoring to viacrm.BC_2022_tmp without dropping. Restored data will be inserted without raising errors; check your server log
Mon Jul 27 14:08:52.937 file /home/dev/test/BC_2022_tmp.bson empty, skipping
Mon Jul 27 14:08:52.937         Creating index: { key: { _id: 1 }, ns: "viacrm.BC_2022_tmp", name: "_id_" }
Mon Jul 27 14:08:52.938 ERROR: Error creating index test.BC_2022_tmp: 13347 err: "local.oplog.rs missing. did you drop it? if so restart server"
Abandon (core dumped)

转储还原命令:

mongorestore -d test /home/dev/crm

请任何人帮我解决此问题

0 个答案:

没有答案