You are on page 1of 1

4.

0 Create the file structure (directories) as per the new locations specifi
ed in the init.ora file
Example:
$ mkdir /app/oracle/admin/cdump
$ mkdir /app/oracle/admin/udump
$ mkdir /app/oracle/admin/udump
5.0 Set the new SID as the environment variable
export ORACLE_SID=<duplicateDB_SID>
Example:
$ export ORACLE_SID=DUP
6.0 Create the spfile from the pfile for the new duplicate database (DUP)
$ sqlplus /as sysdba
SQL> create spfile from pfile=location for init<duplicated_SID>.ora
Example:
$ sqlplus /as sysdba
SQL> create spfile from pfile=/app/oracle/product/10.2.0/db/dbs/initDUP.ora;
7.0 Startup the duplicate database (DUP) in NOMOUNT state
SQL> startup force nomount;

You might also like