Database Backup and Recovery (MOSC)

MOSC Banner

Automate archive log apply during recovery

edited Nov 20, 2014 1:17PM in Database Backup and Recovery (MOSC) 7 commentsAnswered

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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center