How to find correct SCN for RMAN duplicate
Setup:
=> location of RMAN backup files known
=> RMAN files should include archivelogs, datafiles, spfile and controlfile
=> Duplicate without target (duplicate database to testdb1....)
=> these are monthly backups with files located in date specific folders (ie., ../monthly/2020_10_01)
=> assume i don't have an RMAN output log of the backup taken to find the datetime to use
Scenario:
=> How do I determine the best SCN (or datetime) to use so for the RMAN duplicate using the RMAN backup files known
=> I'm assuming (and tried) I would need to restore a controlfile from the RMAN files. They are tagged with CTRL_xxx, but is there another way to make sure i'm using the right controfile to restore. Perhaps looking at the last set of files and just running "restoring controlfile from ..." and see what happens