VERITAS Storage Foundation 4.1 Oracle Administrator's Guide
Examples of Using the Command Line Interface Prerelease 8 September 2005, 8:55am
448 VERITAS Storage Foundation for Oracle Administrator’s Guide
Cloning the Oracle Instance Using dbed_clonedb
You can use the VERITAS Storage Foundation for Oracle dbed_clonedb command to clone an
Oracle instance using a Storage Checkpoint. Cloning an existing database using a Storage
Checkpoint must be done on the same host.
You have the option to manually or automatically recover the Oracle 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 dbed_clonedb
command, recovers the entire database and replays all of the archive logs. You will not be
prompted for any archive log names.
Prerequisites
◆ You must be logged in as the database administrator.
◆ Make sure you have enough space and system resources to create a clone database on your
system.
A clone database takes up as much memory and machine resources as the primary database.
◆ You must first create a Storage Checkpoint. (See “Creating Storage Checkpoints Using
dbed_ckptcreate” on page 432.)
Usage Notes
◆ The dbed_clonedb command is used to create a copy of an Oracle database, cloning all
existing database files to new locations.
◆ The ORACLE_SID and ORACLE_HOME environment variables must be set to the primary
database.
◆ It is assumed that the user has a basic understanding of the Oracle recovery process.
◆ See the dbed_clonedb(1M) manual page for more information.