VERITAS Storage Foundation 4.1 Oracle Administrator's Guide
Appendix A, VERITAS Storage Foundation for Oracle Command Line Interface
Prerelease 8 September 2005, 8:55am Examples of Using the Command Line Interface
449
Options
▼ To clone an Oracle instance with manual Oracle recovery
Use the dbed_clonedb command as follows:
$ /opt/VRTS/bin/dbed_clonedb -S NEW9 -m /local/oracle9/1 \
-c Checkpoint_988813047 -i
Primary Oracle SID is TEST9i
New Oracle SID is NEW9
Checkpoint_988813047 not mounted at /local/oracle9/1
Mounting Checkpoint_988813047 at /local/oracle9/1
Using environment-specified parameter file
/local/oracle9/links/dbs/initTEST9i.ora
Default Oracle parameter file found:
/local/oracle9/links/dbs/initTEST9i.ora
Copying /local/oracle9/links/dbs/initTEST9i.ora
to /local/oracle9/1/testvol
Control file 'ora_control2'
path not explicitly specified in init file; assuming
ORACLE_HOME/dbs
All redo-log files found
Copying initTEST9i.ora to initNEW9.ora
-S CLONE_SID Specifies the name of the new Oracle SID, which will be the
name of the new database instance.
-m MOUNT_POINT Indicates the new mount point of the Storage Checkpoint.
-c CKPT_NAME Indicates the name of the Storage Checkpoint.
-i Runs the command in interactive mode where you must
respond to prompts by the system. The default mode is
non-interactive. (Optional)
-o umount Shuts down the clone database and unmounts the Storage
Checkpoint file system.
-o restartdb Mounts the Storage Checkpoint file system and starts the
clone database. The -o restartdb option will not attempt
to recover the clone database.
-d Used with the -o umount option. If the -d option is
specified, the Storage Checkpoint used to create the clone
database will be removed along with the clone database.