My dream

Manual apply archive log

Suppose online backup a database on tim1, then continue to backup the archive log on time 2,  time 3, ……time n (last archive log backup)

When database crash want to recover the database base on the full online backup on time1 plus archive log on time 2, time 3 to time n.

 

Key point:

 

when do full online backup, must backup the database control file:

alter database backup controlfile to ‘d:\control.bak’;

 

then when do recover:

startup mount;

recover database using backup control file until cancel;

through select max(sequence#) from v$log_history; to verify it.

 

but when open database must use alter database open resetlogs;

posted on 2010-07-12 01:21  robin hu  阅读(202)  评论(0)    收藏  举报