Qustion:
如何处理RMAN CATALOG提示没有DB的incarnation???
C:\Documents and Settings\Administrator>rman target sys/sys@ora9i catalog catuser/catuser@ora9i
RMAN> report schema;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of report command at 09/06/2006 15:36:54
RMAN-06004: ORACLE error from recovery catalog database: RMAN-20003: target database incarnation not found in recovery c
atalog
DB incarnation 是什么含义,怎么解释??
RMAN> report schema;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of report command at 09/06/2006 15:36:54
RMAN-06004: ORACLE error from recovery catalog database: RMAN-20003: target database incarnation not found in recovery c
atalog
DB incarnation 是什么含义,怎么解释??
Answer:
当每次做完不完全恢复之后,执行了alter database open resetlogs;
之后都要产生一个目标数据库的新的对应物,如果你是在rman环境中做的备份恢复,执行了alter database open resetlogs那么rman会自动产生对应物,如果你是在sqlplus中执行了alter database open resetlogs,那么在rman环境中就会出现你刚才的错误,解决的办法就是reset database ;至于如何理解“化身”,本质原理是这样的,当你执行了alter database open resetlog之后,你的之前的备份其实就过期了,你的数据库也是一个“全新”的数据库了,事实上需要重新注册了!
之后都要产生一个目标数据库的新的对应物,如果你是在rman环境中做的备份恢复,执行了alter database open resetlogs那么rman会自动产生对应物,如果你是在sqlplus中执行了alter database open resetlogs,那么在rman环境中就会出现你刚才的错误,解决的办法就是reset database ;至于如何理解“化身”,本质原理是这样的,当你执行了alter database open resetlog之后,你的之前的备份其实就过期了,你的数据库也是一个“全新”的数据库了,事实上需要重新注册了!
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/13790829/viewspace-322992/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/13790829/viewspace-322992/