最初由 ysjxjf 发布
[B]你不能用 已经做过alter database open reset logs 的 controlfile 了。 你要把所有备份的 datafile , control file 都重新 复制过来才可以。 或者 重建 controlfile [/B]
楼主的库应该是9i吧,看了下文档和10g这方面还是有区别的
9i
Restrictions and Usage Notes
Execute RESET DATABASE only at the RMAN prompt.
You must be connected to the target database and a recovery catalog.
You cannot specify TO INCARNATION unless the database is started NOMOUNT. If
you mount a control file from an incarnation after the desired incarnation, then
RESET DATABASE TO INCARNATION fails because of a control file mismatch. If
you mount the control file from the desired incarnation and then run RESET DATABASE TO INCARNATION, then the connection to the target database and
recovery catalog fails due to an incarnation mismatch.
10g
Restrictions and Usage Notes
■ Execute RESET DATABASE only at the RMAN prompt.
■ You must be connected to the target database.
■A recovery catalog connection is optional.[/COLOR] Unlike in catalog mode, RESET
DATABASE in nocatalog mode changes the incarnation only for the current RMAN
session.
■ If RMAN is connected NOCATALOG, then you can only specify TO INCARNATION if
the database is mounted and the control file contains a record of the prior
incarnation. If you do not run RESET DATABASE, RMAN recovers to the last
incarnation recorded in the control file.
■ If RMAN is connected in CATALOG mode, then you can specify TO INCARNATION
when the database is mounted. If database is mounted, however, then the control
file must have a record of the prior incarnation.
就像ysjxjf所说的应该要用老的控制文件才可以或者重建,实在不行的话就用dbms_backup_restore包吧 |