Does RMAN backs up the archivelogs first instead of backup of database/datafiles even when i have backup incremental level 1 and backup archivelog all as two different commands in run block?
I'm getting the error as shown below even though i have crosscheck statement before the archivelog backups are being done.Should i have crosscheck archivelog all as first command in my backup script?
RMAN-06059: expected archived log not found, loss of archived log compromises recoverability
ORA-19625: error identifying file /ora01/mamxv1/2_805_756290445.arc.
My backup script.
Code: Select all
allocate channel t1 type 'sbt_tape';
allocate channel t2 type 'sbt_tape';
backup incremental level 1
(database include current controlfile);
sql "alter system archive log current";
change archivelog all crosscheck ;
release channel t1;
release channel t2;