rman duplicate attempting to restore to date earlier than I specified and failing
I attempted an rman duplicate using the following commands in rman:
set until scn=28516137016;
duplicate target database to genwh nofilenamecheck
....
The scn above equates to a date/time of 5 April 2022 18:57:38
However the duplicate fails with:
RMAN-06053: unable to perform media recovery because of missing log
RMAN-06025: no backup of archived log for thread 1 with sequence 611598 and starting SCN of 28508385986 found to restore
The archived log matching the sequence 611598 is o1_mf_1_611598_k4fdv7gr_.arc (with a date of 1 April 2022 19:10)
This file exists in the flash recovery area but it does not exist in the backup directories so I guess this must be causing the above error.