RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 01/01/2011 11:37:14
RMAN-03015: error occurred in stored script Memory Script
ORA-19697: standby control file not found in backup setHere is complete output that we followed and we got the error:
#sqlplus '/ as sysdba'
SQL*Plus: Release 11.2.0.1.0 Production on Tue Jan 01 11:36:30 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 2.1379E+10 bytes
Fixed Size 2213136 bytes
Variable Size 7247760112 bytes
Database Buffers 1.3959E+10 bytes
Redo Buffers 170340352 bytes
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
#rman auxiliary sys/xxxxxx
Recovery Manager: Release 11.2.0.1.0 - Production on Tue Jan 01 11:36:46 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to auxiliary database: PROD (not mounted)
RMAN> run {
allocate auxiliary channel ch1 type disk;
allocate auxiliary channel ch2 type disk;
allocate auxiliary channel ch3 type disk;
allocate auxiliary channel ch4 type disk;
allocate auxiliary channel ch5 type disk;
allocate auxiliary channel ch6 type disk;
allocate auxiliary channel ch7 type disk;
allocate auxiliary channel ch8 type disk;
duplicate database to DEV
until time "to_date('01/01/2011 11:00:37','MM/DD/YYYY HH24:MI:SS')"
BACKUP LOCATION '/oradump/level0/01012011'
nofilenamecheck
skip tablespace history_data
undo tablespace undotbs01;
}
#rman auxiliary sys/xxxxx
Recovery Manager: Release 11.2.0.1.0 - Production on Tue Jan 01 11:36:46 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to auxiliary database: PROD (not mounted)
RMAN> run {
allocate auxiliary channel ch1 type disk;
2> 3> allocate auxiliary channel ch2 type disk;
allocate auxiliary channel ch3 type disk;
4> allocate auxiliary channel ch4 type disk;
5> allocate auxiliary channel ch5 type disk;
6> allocate auxiliary channel ch6 type disk;
7> allocate auxiliary channel ch7 type disk;
allocate auxiliary channel ch8 type disk;
8> duplicate database to DEV
9> until time "to_date('01/01/2011 11:20:00','MM/DD/YYYY HH24:MI:SS')"
BACKUP LOCATION '/oradump/level0/01012011'
10> nofilenamecheck
11> skip tablespace history_data
undo tablespace undotbs01;
12> }13> 14> 15> 16>
allocated channel: ch1
channel ch1: SID=2521 device type=DISK
allocated channel: ch2
channel ch2: SID=2647 device type=DISK
allocated channel: ch3
channel ch3: SID=2773 device type=DISK
allocated channel: ch4
channel ch4: SID=2899 device type=DISK
allocated channel: ch5
channel ch5: SID=1 device type=DISK
allocated channel: ch6
channel ch6: SID=127 device type=DISK
allocated channel: ch7
channel ch7: SID=254 device type=DISK
allocated channel: ch8
channel ch8: SID=380 device type=DISK
Starting Duplicate Db at 01/01/11
contents of Memory Script:
{
sql clone "alter system set db_name =
''PROD'' comment=
''Modified by RMAN duplicate'' scope=spfile";
sql clone "alter system set db_unique_name =
''DEV'' comment=
''Modified by RMAN duplicate'' scope=spfile";
shutdown clone immediate;
startup clone force nomount
restore clone primary controlfile from '/oradump/level0/01012011/h1m8m4k2_1.20110109';
alter clone database mount;
}
executing Memory Script
sql statement: alter system set db_name = ''PROD'' comment= ''Modified by RMAN duplicate'' scope=spfile
sql statement: alter system set db_unique_name = ''DEV'' comment= ''Modified by RMAN duplicate'' scope=spfile
Oracle instance shut down
Oracle instance started
Total System Global Area 21378957312 bytes
Fixed Size 2213136 bytes
Variable Size 7247760112 bytes
Database Buffers 13958643712 bytes
Redo Buffers 170340352 bytes
allocated channel: ch1
channel ch1: SID=2521 device type=DISK
allocated channel: ch2
channel ch2: SID=2647 device type=DISK
allocated channel: ch3
channel ch3: SID=2773 device type=DISK
allocated channel: ch4
channel ch4: SID=2899 device type=DISK
allocated channel: ch5
channel ch5: SID=1 device type=DISK
allocated channel: ch6
channel ch6: SID=127 device type=DISK
allocated channel: ch7
channel ch7: SID=254 device type=DISK
allocated channel: ch8
channel ch8: SID=380 device type=DISK
Starting restore at 01/01/11
channel ch2: skipped, AUTOBACKUP already found
channel ch3: skipped, AUTOBACKUP already found
channel ch4: skipped, AUTOBACKUP already found
channel ch5: skipped, AUTOBACKUP already found
channel ch6: skipped, AUTOBACKUP already found
channel ch7: skipped, AUTOBACKUP already found
channel ch8: skipped, AUTOBACKUP already found
channel ch1: restoring control file
released channel: ch1
released channel: ch2
released channel: ch3
released channel: ch4
released channel: ch5
released channel: ch6
released channel: ch7
released channel: ch8
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 01/01/2011 11:37:14
RMAN-03015: error occurred in stored script Memory Script
ORA-19697: standby control file not found in backup set
RMAN>