Q
Problem solve Get help with specific problems with your technologies, process and projects.

Recovering database with cold backup and archive logs

If I do a cold backup using RMAN on my 9.2.0.7 database at 1:00 am today, and I have all the archive logs from 1:00 am to 5:00 pm, can I use the 1:00 am RMAN cold backup to recover my database up to 5:00 pm? How?

If I do a cold backup using RMAN on my 9.2.0.7 database at 1:00 am today, and I have all the archive logs from 1:00 am to 5:00 pm, can I use the 1:00 am RMAN cold backup to recover my database up to 5:00 pm? How?
Even if you took a cold backup, RMAN can use the archived redo logs to apply recovery up until the current point in time. The best thing to do is to let RMAN decide what it needs. In RMAN, just issue the following:
run {
   restore database;
   recover database;
}
RMAN will automatically figure out what you need to recover and automatically apply recovery in your online redo logs. In my commands above, I assumed that you have preconfigured your RMAN channels.

Dig Deeper on Oracle database backup and recovery

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close