2 cql252283126 cql252283126 于 2015.06.10 10:43 提问

rman备份的归档日志恢复不成功,求指教 5C

用的增量备份策略其中归档日志备份如下:
backup as compressed backupset archivelog all format '/home/oracle/0_level/arch_%s_%d_T' delete input;
在进行恢复的时候,recover database;时恢复了归档日志,但是归档日志恢复的不全,而且有的不成功,提示如下,数据库也可以打开,数据貌似也都回来了。

channel ORA_DISK_1: starting archive log restore to default destination
channel ORA_DISK_1: restoring archive log
archive log thread=1 sequence=9
channel ORA_DISK_1: reading from backup piece /home/oracle/1_level/arch_1_47_CHEN_T
channel ORA_DISK_1: restored backup piece 1
piece handle=/home/oracle/1_level/arch_1_47_CHEN_T tag=TAG20150610T093812
channel ORA_DISK_1: restore complete, elapsed time: 00:00:02
archive log filename=/oracle/app/flash_recovery_area/CHEN/archivelog/2015_06_10/o1_mf_1_9_bqh8ndy4_.arc thread=1 sequence=9
channel default: deleting archive log(s)
archive log filename=/oracle/app/flash_recovery_area/CHEN/archivelog/2015_06_10/o1_mf_1_9_bqh8ndy4_.arc recid=109 stamp=882009357
channel ORA_DISK_1: starting archive log restore to default destination
channel ORA_DISK_1: restoring archive log
archive log thread=1 sequence=10
channel ORA_DISK_1: reading from backup piece /home/oracle/1_level/arch_1_48_CHEN_T
channel ORA_DISK_1: restored backup piece 1
piece handle=/home/oracle/1_level/arch_1_48_CHEN_T tag=TAG20150610T093812
channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
archive log filename=/oracle/app/flash_recovery_area/CHEN/archivelog/2015_06_10/o1_mf_1_10_bqh8ng8q_.arc thread=1 sequence=10
unable to find archive log
archive log thread=1 sequence=1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 06/10/2015 10:36:02
RMAN-06054: media recovery requesting unknown log: thread 1 seq 1 lowscn 1019414

RMAN> alter database open resetlogs;

database opened

1个回答

luckybirdd
luckybirdd   2015.06.11 09:52

很有可能o1_mf_1_9_bqh8ndy4_.arc是最后一个归档日志,o1_mf_1_10_bqh8ng8q_.arc还没有归档,还在联机日志。如果是这种情况,在需要o1_mf_1_10_bqh8ng8q_.arc时,给一下联机日志文件,试一下。

cql252283126
cql252283126 o1_mf_1_10_bqh8ng8q_.arc这个就是归档日志文件,在备份归档日志之前也执行了alter system archive log current; 你说的给一下联机日志文件,怎么给?
2 年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片