【RMAN】RAC数据恢复至单机环境(二)

2014-11-24 17:17:54 · 作者: · 浏览: 1
-- ------------------------------


spfile string /oracle/db_1/dbs/spfileracdb1.


Ora


恢复控制文件,并启动数据库到mount模式



[oracle@oradb1 oracle]$ rman target /


Recovery Manager: Release 11.2.0.4.0 - Production on Mon Feb 17 12:45:58 2014


Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.


connected to target database: RACDB (not mounted)


RMAN> restore controlfile from '/oracle/backup/full_0bp0rlcu_1_1';


Starting restore at 17-FEB-14


using target database control file instead of recovery catalog


allocated channel: ORA_DISK_1


channel ORA_DISK_1: SID=19 device type=DISK


channel ORA_DISK_1: restoring control file


channel ORA_DISK_1: restore complete, elapsed time: 00:00:15


output file name=/oracle/oradata/racdb/current.273.839446247


output file name=/oracle/oradata/racdb/current.274.839446249


Finished restore at 17-FEB-14


RMAN> sql 'alter database mount';


sql statement: alter database mount


released channel: ORA_DISK_1