Symantec logo
Cloning the Oracle instance using dbed_clonedb

You can use the 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 database when using the dbed_clonedb command:

Before cloning the Oracle instance, the following conditions must be met:

Prerequisites 

  • You must first create a Storage Checkpoint.

    See Creating Storage Checkpoints using dbed_ckptcreate

  • 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.

Usage notes 

  • The dbed_clonedb command is used to create a copy of a 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 database recovery process.
  • See the dbed_clonedb(1M) manual page for more information.

Limitations for SF Oracle RAC 

  • Note that the database cloning using Instant Checkpoint is not supported for SF Oracle RAC.
  • When you clone the database by using Checkpoint, the node can be any node in the same SF Oracle RAC cluster but the archive log destination is required to be on CFS file system. Otherwise, you must manually copy the archive log files.

dbed_clonedb command options lists the options for the dbed_clonedb command.

dbed_clonedb command options

Option

Description

-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. 

 To clone an Oracle instance with manual Oracle recovery

 To clone an Oracle instance with automatic Oracle recovery

 To shut down the clone database and unmount the Storage Checkpoint

 To mount a Storage Checkpoint file system and start the clone database

 To delete a clone database and the Storage Checkpoint used to create it