Automate archive log apply during recovery
Hello
Oracle 11.2.0.2 on AIX
We are restoring our DB after hotbackup daily and we are trying to automate this procedure. Usually we have 1 archive log to complete recovery However this number can go up depending upon active transactions during backup.During recovery we need to give the name of the archvies required for rollforward. How can we automate this piece of work - Is there any way we can determine the archives required at our destination database. Here is my recovery script
SET AUTORECOVERY ON
set logsource /oracle/archives
create control file <<>>
-- Which options can we use here and how to find the correct number of archives.