RMAN attempted to backup an archive log file, but couldn't find it.
This can happen for a variety of reasons; the file has been manually moved or deleted, the archive log destination has recently been changed, the file has been compressed, etc.
This can happen for a variety of reasons; the file has been manually moved or deleted, the archive log destination has recently been changed, the file has been compressed, etc.
RMAN> backup archivelog all;
Starting backup at 22-DEC-17
current log archived
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 12/22/2017 12:23:08
RMAN-06059: expected archived log not found, loss of archived log compromises recoverability
ORA-19625: error identifying file /u01/home/app/prod/arch/1_6_961779399.dbf
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
Your options are either to restore the missing file(s), or to perform a crosscheck. To perform a crosscheck, run the following command from within RMAN:
RMAN> change archivelog all crosscheck;
RMAN> change archivelog all crosscheck;
Crosschecked 75 objects
RMAN> backup archivelog all;
Starting backup at 22-DEC-17
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=3 RECID=1 STAMP=961783298
input archived log thread=1 sequence=4 RECID=2 STAMP=961783689
input archived log thread=1 sequence=5 RECID=3 STAMP=961785306
input archived log thread=1 sequence=78 RECID=83 STAMP=963404881
channel ORA_DISK_1: starting piece 1 at 22-DEC-17
channel ORA_DISK_1: finished piece 1 at 22-DEC-17
piece handle=/u01/home/prodbkp/offbkp/HYD/backupset/2017_12_22/o1_mf_annnn_TAG20171222T122801_f3sc7t1y_.bkp tag=TAG20171222T122801 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:35
Finished backup at 22-DEC-17
Starting Control File Autobackup at 22-DEC-17
piece handle=/u01/home/prodbkp/offbkp/HYD/autobackup/2017_12_22/o1_mf_n_963404917_f3sc8xq6_.bkp comment=NONE
Finished Control File Autobackup at 22-DEC-17
It is advisable to perform a full backup of the database at this point.
When an archive log crosscheck is performed, RMAN checks each archive log in turn to make sure that it exists on disk (or tape). Those that are missing are marked as unavailable. If you have got missing logs, this won't bring them back. It will allow you to get past this error and back-up the database though.
When an archive log crosscheck is performed, RMAN checks each archive log in turn to make sure that it exists on disk (or tape). Those that are missing are marked as unavailable. If you have got missing logs, this won't bring them back. It will allow you to get past this error and back-up the database though.
No comments:
Post a Comment