请问关于在RMAN中恢复数据库副本出错的有关问题

请教关于在RMAN中恢复数据库副本出错的问题。
本帖最后由 e13653050049 于 2013-03-13 17:16:55 编辑
大家好,我现在的数据库做了不完成恢复后,数据库副本号是489
我在控制文件(select checkpoint_change# from v$database)和数据文件的SCN值为1607756是做了数据库全备后的SCN值,现在我想恢复到之前的数据库副本号2,于是我执行了以下命令脚本:
RMAN> startup force mount;

RMAN> reset database to incarnation 2;

RMAN> run {
2> startup force nomount;
3> set until scn=1607756;  ##这里的scn=1607756是v$database 视图中的checkpoint_change#的值,不是current_scn 的值,有问题吗?
4> restore controlfile;
5> }


RMAN> run {
2> sql 'alter database mount';
3> restore database;
4> recover database;
5> sql 'alter database open resetlogs';
6> }


但最后提示了以下“在恢复目录中找不到目标数据库的副本”:

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 03/13/2013 15:46:55
RMAN-06004: ORACLE error from recovery catalog database: RMAN-20003: target database incarnation not found in recovery catalog

-------
请问这是怎么回事?错在哪里了?应如何解决才能恢复到数据库之前副本号2呢?
待复,感谢!
rman incarnation 数据库副本

------解决方案--------------------
试下不用控制文件恢复。。