Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: benefits of multiple switch logfile calls?
On Thu, 11 Dec 2003 05:45:52 -0800, lsattle wrote:
> drak0nian_at_yahoo.com (Paul Drake) wrote in message news:<1ac7c7b3.0312081614.7d4515d9_at_posting.google.com>...
>> lsattle_at_yahoo.com (lsattle) wrote in message news:<95898986.0312040755.16c6f7ac_at_posting.google.com>...
>> > Note I now believe these last steps are out of order. I think we >> > should get the controlfile backup first, and then get the log switch. >> > Note we do restore the backup of the control file before the recovery >> > because again who knows where in the backup process the controlfile >> > was backed up. >> >> just snipping at one point: >> you will be better off, if you backup controlfile to <dest> >> and then archive the current logfile afterwards. >> >> if you use the binary version of the backup controlfile, it will be >> asking for the logfile to be applied that has not yet been archived, >> in other words, file#1 needs more recovery.
Well our current script (the one for Oracle 7 that was written long ago, does the 3 log switch calls, then backs up the tablespaces, then backs up the controlfile to dest.
So I should be backing up the controlfile before archiving the logs? And should one ALTER SYSTEM ARCHIVE LOG CURRENT be sufficient?
If anyone has a backup script that they use for 9i (not using RMAN) I'd love to see it. Received on Tue Jan 06 2004 - 10:01:44 CST