I have taken the oplog backup now I want to restore the backup as point in time as below condition
insert collection name=one
delete collection name = two
insert collection name=three
suppose someone has mistakenly used delete command , now I want to restore the latest upto name=three, but avoid command delete (name=two)
mongorestore --oplogReplay --plogLimit number:1 /path/oplog.rs.bson
This command restore only upto delete , but not restore commands after the delete
Require to recover the data on above condition