Recovery Manager: Release 10.2.0.1.0 - Production on 星期五 12月 8 12:09:23 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: ORCL (DBID=1132959697)
connected to auxiliary database: ORCL (not mounted)
RMAN> duplicate target database for standby dorecover nofilenamecheck;
Starting Duplicate Db at 08-12月-06
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid=156 devtype=DISK
contents of Memory Script:
{
set until scn 1607552;
restore clone standby controlfile;
sql clone 'alter database mount standby database';
}
executing Memory Script
executing command: SET until clause
Starting restore at 08-12月-06
using channel ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: starting datafile backupset restore
channel ORA_AUX_DISK_1: restoring control file
channel ORA_AUX_DISK_1: reading from backup piece /free/oracle/FULL_ORCL_20061207_58
channel ORA_AUX_DISK_1: restored backup piece 1
piece handle=/free/oracle/FULL_ORCL_20061207_58 tag=TAG20061207T193507
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:03
output filename=/free/oracle/oradata/orcl/standby.ctl
Finished restore at 08-12月-06
sql statement: alter database mount standby database
released channel: ORA_AUX_DISK_1
contents of Memory Script:
{
set until scn 1607552;
set newname for tempfile 1 to
"/free/oracle/oradata/orcl/temp01.dbf";
switch clone tempfile all;
set newname for datafile 1 to
"/free/oracle/oradata/orcl/system01.dbf";
set newname for datafile 2 to
"/free/oracle/oradata/orcl/undotbs01.dbf";
set newname for datafile 3 to
"/free/oracle/oradata/orcl/sysaux01.dbf";
set newname for datafile 4 to
"/free/oracle/oradata/orcl/users01.dbf";
"/free/oracle/oradata/orcl/gaojfdb.dbf";
set newname for datafile 6 to
"/free/oracle/oradata/orcl/gaojf1db.dbf";
set newname for datafile 7 to
"/free/oracle/oradata/orcl/gaojf2db.dbf";
set newname for datafile 8 to
"/free/oracle/oradata/orcl/gaojf3db.dbf";
set newname for datafile 9 to
"/free/oracle/oradata/orcl/gaojf4db.dbf";
set newname for datafile 10 to
"/free/oracle/oradata/orcl/cicrodb1.dbf";
set newname for datafile 11 to
"/free/oracle/oradata/orcl/cicrodb11.dbf";
restore
check readonly
clone database
;
}
executing Memory Script
executing command: SET until clause
executing command: SET NEWNAME
renamed temporary file 1 to /free/oracle/oradata/orcl/temp01.dbf in control file
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 08-12月-06
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid=156 devtype=DISK
channel ORA_AUX_DISK_1: starting datafile backupset restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /free/oracle/oradata/orcl/system01.dbf
restoring datafile 00002 to /free/oracle/oradata/orcl/undotbs01.dbf
restoring datafile 00003 to /free/oracle/oradata/orcl/sysaux01.dbf
restoring datafile 00004