Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
4.启动数据库到mount状态
RMAN> alter database mount;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 09/05/2013 13:52:32
ORA-01103: database name 'SEEDDATA' in control file is not 'ORCL'
------->>>此处报数据库的名字为SEEDDATA,将pfile中的db_name修改成SEEDDATA,重启数据库,启动到mount状态
[oracle@elvis-desktop dbs]$ vi initORCL.ora
db_name='SEEDDATA'
control_files='/oracle/oradata/ORCL/control01.ctl'
RMAN> alter database mount;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 09/05/2013 13:53:12
ORA-01103: database name 'SEEDDATA' in control file is not 'ORCL'
RMAN> shutdown abort;
Oracle instance shut down
RMAN> startup nomount pfile='/oracle/product/11.2.0/dbhome_1/dbs/initORCL.ora';
connected to target database (not started)
Oracle instance started
Total System Global Area 238034944 bytes
Fixed Size 2227136 bytes
Variable Size 180356160 bytes
Database Buffers 50331648 bytes
Redo Buffers 5120000 bytes
RMAN> alter database mount;
database mounted
5.注册数据库备份片的位置,开始恢复数据库
RMAN> catalog start with '/oracle/product/11.2.0/dbhome_1/assistants/dbca/templates/Seed_Database.dfb';
searching for all files that match the pattern /oracle/product/11.2.0/dbhome_1/assistants/dbca/templates/Seed_Database.dfb
List of Files Unknown to the Database
==============================