备份数据库与还原数据库所有参数设置及相关信息均一致,使用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

当尝试使用RMAN进行异机还原时,遇到了RMAN-06004错误,该错误是由于alter database open resetlogs操作导致的。为了解决这个问题,可以通过注销并重新注册数据库来修复。具体步骤包括:1. 使用RMAN的unregister database noprompt;命令注销当前注册的数据库;2. 接着使用register database;命令重新注册数据库,并完成恢复目录的完全同步。调整后的RMAN配置参数显示无误,问题已得到解决。
最低0.47元/天 解锁文章
1241

被折叠的 条评论
为什么被折叠?



