mongodb - Dump restore throws error -
i'm getting below error while restoring dump mongodb,
mon jul 27 14:08:52.936 going namespace [test.bc_2022_tmp] mon jul 27 14:08:52.936 warning: restoring viacrm.bc_2022_tmp without dropping. restored data inserted without raising errors; check 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 drop it? if restart server" abandon (core dumped)
dump restore command:
mongorestore -d test /home/dev/crm
please can me resolve issue
Comments
Post a Comment