备份数据库与还原数据库所有参数设置及相关信息均一致,使用catalog异机还原,因alter database
open resetlogs引起的RMAN-06004错误,错误信息如下:
RMAN> show all;
RMAN configuration parameters are:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of show command at 12/13/2012 09:44:33
RMAN-06004: ORACLE error from recovery catalog database: RMAN-20011: target database
incarnation is not current in recover
重新注册数据库即可解决,命令如下:
1.注销当前注册的数据库
RMAN> unregister database noprompt;
database name is "ORCL" and DBID is 1329116501
database unregistered from the recovery catalog
2.注册数据库
RMAN> register database;
database registered in recovery catalog
starting full resync of recovery catalog
full resync complete
RMAN> show all;
RMAN co