You have the option to manually or automatically recover the database when using the dbed_clonedb command:
Manual (interactive) recovery, which requires using the -i option, of the clone database allows the user to control the degree of recovery by specifying which archive log files are to be replayed.
Automatic (non-interactive) recovery, which is the default usage of the command, recovers the entire database and replays all of the archive logs. You will not be prompted for any archive log names.
Before cloning the Oracle instance, review the following information:
Table: dbed_clonedb command options lists the options for cloning the Oracle database.
Table: dbed_clonedb command options
Primary Oracle SID is FLAS11r1 New Oracle SID is test2cln Cloning an online Storage Checkpoint Checkpoint_1239013340. Mounting Checkpoint_1239013340 at /tmp/test2cln. All redo-log files found. Creating inittest2cln.ora from /tmp/vxdba.rel.tmp.27511/initFLAS11r1.ora. Altering db_name parameter in inittest2cln.ora. Editing remote_login_passwordfile in inittest2cln.ora. Altering control file locations in inittest2cln.ora. Copying inittest2cln.ora to /oracle/11gr1/dbs/inittest2cln.ora. About to start up new database and begin reconfiguration. Database test2cln is being reconfigured. Did not see error regarding database name. Altering clone database archive log directory. Updating log_archive_dest in clone database init file. Found archive log destination at /snap_arch11r1/FLAS11r1. The latest archive log(s) must now be applied. To apply the logs, open a new window and perform the following steps:
1. You must copy required archive log(s) from primary to clone: Primary archive logs in /snap_arch11r1/FLAS11r1 Clone archive logs expected in /tmp/test2cln/snap_arch11r1/FLAS11r1. 2. ORACLE_SID=test2cln; export ORACLE_SID # sh and ksh, OR setenv ORACLE_SID test2cln #csh 3. /oracle/11gr1/bin/sqlplus /nolog 4. CONNECT / AS SYSDBA 5. RECOVER DATABASE UNTIL CANCEL USING BACKUP CONTROLFILE 6. enter the archive log(s) you would like to apply 7. EXIT
Press <Return> after you have completed the above steps
Primary Oracle SID is FLAS11r1 New Oracle SID is test1cln Cloning an online Storage Checkpoint Checkpoint_1239012493. Mounting Checkpoint_1239012493 at /tmp/test1cln. All redo-log files found. Creating inittest1cln.ora from /tmp/vxdba.rel.tmp.25063\ /initFLAS11r1.ora. Altering db_name parameter in inittest1cln.ora. Editing remote_login_passwordfile in inittest1cln.ora. Altering control file locations in inittest1cln.ora. Copying inittest1cln.ora to /oracle/11gr1/dbs/inittest1cln.ora. About to start up new database and begin reconfiguration. Database test1cln is being reconfigured. Did not see error regarding database name. Starting automatic database recovery. Shutting down clone database. Altering clone database archive log directory. Updating log_archive_dest in clone database init file. Found archive log destination at /snap_arch11r1/FLAS11r1. Mounting clone database. Resetting logs on new database test1cln. The sql script for adding tempfiles to test1cln is at \ /tmp/add_tf.test1cln.sql. Database instance test1cln is up and running.