Our hot_backup script performs a 'alter system archive log all' as the last step in the script. So the backup of the datafiles occurs before we force the log to archive. After running the script I have the following archived log sequence
15:04 arch_1_787.arc. Since the dbfs were backedup before the archive will 787 be the first archived log sequence I need for a restore or application to a standby? Thanks.
our consultant wrote the hot_backup script for us. He ends the script with the following commands:
alter system switch logfile;
archive log all;
I thought that the switch would switch which the redo log the LGWR is writing to which may not cause an the inactive log to archive. Therefore the archive log statement would be needed to force the archive. Although, you may be right b/c we get an error messages that there are no logs that need archiving when we run the backup.