ÉÏÖÜÒ»¸öÅóÓѵÄÊý¾Ý¿â·¢ÉúÎóɾ³ý²Ù×÷£¬ÇëÎÒ°ïæ½øÐлָ´¡£
ÓÉÓÚ±¸·Ý±È½Ï³ä·Ö£¬ËùÒÔÖ»ÐèҪͨ¹ýRMAN½øÐÐÒ»¸ö»ùÓÚʱ¼äµã£¨Õâ¸öʱ¼äµãÐèÒª¸ù¾Ý¹ÊÕÏʱ¼ä½øÐÐÅжÏÑ¡È¡£©¡£
Ê×ÏÈÆô¶¯ÊµÀý:
[oracle@stat ~]$ export ORACLE_SID=order
[oracle@stat ~]$ rman target /
Recovery Manager: Release 10.2.0.2.0 - Production on Thu Sep 14 22:43:50 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database (not started)
RMAN> set DBID=1341966532
executing command: SET DBID
RMAN> startup nomount;
Oracle instance started
Total System Global Area 2483027968 bytes
Fixed Size 1262344 bytes
Variable Size 654314744 bytes
Database Buffers 1811939328 bytes
Redo Buffers 15511552 bytes
»Ö¸´Êý¾ÝÎļþ²¢¼ÓÔØ(mount)Êý¾Ý¿â:
RMAN> restore controlfile from autobackup;
Starting restore at 14-SEP-06
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=541 devtype=DISK
channel ORA_DISK_1: looking for autobackup on day: 20060914
channel ORA_DISK_1: autobackup found: c-1341966532-20060914-02
channel ORA_DISK_1: control file restore from autobackup complete
output filename=/oradata/controlfile/o1_mf_28spy45z_.ctl
output filename=/oradata/controlfile/o2_mf_28spy45z_.ctl
Finished restore at 14-SEP-06
RMAN> alter database mount;
database mounted
released channel: ORA_DISK_1