Oplog Restore/Replay to Perform PITR

Hi,

Need help regarding Point-In-Time restore of oplogs. If there are any pointers or any reference page with custom made scripts that can be referred.

Looking for restoration of oplogs only. Oplog dump & replay/restore needs to be done few times. Looking for any kind of customized Script To take dump from source replicaset using latest timestamp (until the latest changes happened) and timestamp of last successful oplogs replay/restore on the destination replicaset cluster.

And perform oplogs restore/replay later with the same dumps.
(Requirement is to gather the changes needed to roll the data forward from the time of backup to the time/oplog-position to which we would like to restore.)

Thanks,
Pradeep

1 Like