RMAN-ERROR因找不到过期和丢失的归档日志而备份失败该怎么办,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。
成都网站建设、成都网站设计的关注点不是能为您做些什么网站,而是怎么做网站,有没有做好网站,给创新互联公司一个展示的机会来证明自己,这并不会花费您太多时间,或许会给您带来新的灵感和惊喜。面向用户友好,注重用户体验,一切以用户为中心。
oracle RMAN ERROR
RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of backup plus archivelog command at 05/03/2018 15:30:02 RMAN-06059: expected archived log not found, loss of archived log compromises recoverability ORA-19625: error identifying file /oracle/archlog/cross/1_40137_869580905.dbf ORA-27037: unable to obtain file status Linux-x86_64 Error: 2: No such file or directory Additional information: 3 |
rman target / log=$BACKUPDIR/$DATA/$LOGFILE << EOF run{ allocate channel ch00 type disk maxpiecesize=4096M; allocate channel ch01 type disk maxpiecesize=4096M; backup as compressed backupset full database format '$BACKUPDIR/$DATA/${ORACLE_SID}_level0_%d_%T_%s_%p' plus archivelog format '$BACKUPDIR/$DATA/${ORACLE_SID}_arc_%d_%T_%s_%p' delete all input; backup current controlfile format '$BACKUPDIR/$DATA/${ORACLE_SID}_control_%d_%T_%s_%p'; backup spfile format '$BACKUPDIR/$DATA/${ORACLE_SID}_spfile_%d_%T_%s_%p'; release channel ch00; release channel ch01; } exit; EOF |
通过报错信息:expected archived log not found,而备份脚本采用了plus archivelog,
分析找到问题:因为找不到过期的归档日志而备份失败。
点击(此处)折叠或打开
RMAN target /
RMAN> CROSSCHECK ARCHIVELOG ALL;
MRAN> DELETE NOPROMPT EXPIRED ARCHIVELOG ALL;
看完上述内容,你们掌握RMAN-ERROR因找不到过期和丢失的归档日志而备份失败该怎么办的方法了吗?如果还想学到更多技能或想了解更多相关内容,欢迎关注创新互联行业资讯频道,感谢各位的阅读!