今天在备份归档日志的时候,出错了,发现是由于备份的目录改变了
RMAN> backup archivelog all delete input; --备份默认目录下所有归档日志,并且删除这个目录下所有归档日志
Starting backup at 21-AUG-08
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 08/21/2008 18:43:00
RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
ORA-19625: error identifying file /opt/ora9/arch/1_21.dbf
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
解决办法为,运行
RMAN> crosscheck archivelog all; --9i (change archivelog all crosscheck ; --8i)