Issue the duplicate database command
Overview of RMAN Database Duplication 297
e x e R C i S e 7.1 (c o n t i n u e d)
C:\Documents and Settings\Robert>sqlplus sys/Robert@neworcl
SQL*Plus: Release 12.1.0.1.0 Production on Sat Jan 4 20:05:34 2014 Copyright (c) 1982, 2013, Oracle. All rights reserved.Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production With the Partitioning, OLAP, Advanced Analytics
and Real Application Testing options
SQL> select instance_name from v$instance;
INSTANCE_NAME
----------------
neworcle x e R C i S e 7.1 (c o n t i n u e d)
Recovery Manager: Release 12.1.0.1.0 -
Production on Sat Jan 4 20:01:34 2014
Copyright (c) 1982, 2013, Oracle and/or its affiliates. All rights reserved.■■ It starts the duplication process .
■■ The SPFILE parameter causes the target database spfile to be copied to the dupli- cate database . The duplicate database will use this spfile .
■■ | The SET commands (SET CONTROL FILES, SET DB_FILE_NAME_CONVERT, and SET LOG_FILE_NAME_CONVERT) modify or add parameters to the spfile being copied to |
---|
C:\oracle\product\12.1.0\db_1\database>set oracle_sid=neworcl C:\oracle\product\12.1.0\db_1\database>sqlplus sys/Robert as sysdba SQL*Plus: Release 12.1.0.1.0 Production on Sat Jan 4 20:05:34 2014 Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to: