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因找不到过期和丢失的归档日志而备份失败该怎么办的方法了吗?如果还想学到更多技能或想了解更多相关内容,欢迎关注创新互联-成都网站建设公司行业资讯频道,感谢各位的阅读!
本文名称:RMAN-ERROR因找不到过期和丢失的归档日志而备份失败该怎么办-创新互联
当前网址:https://www.cdcxhl.com/article48/heshp.html
成都网站建设公司_创新互联,为您提供微信小程序、面包屑导航、定制开发、营销型网站建设、网站收录、网站营销
声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联