You can create a database clone by using a Database Storage Checkpoint as follows.
To create a clone of a Database Storage Checkpoint
$ /opt/VRTSdbed/bin/vxsfadm -s checkpoint -o clone -a db2 \ --db2instance db2inst1 --db2database proddb \ --checkpoint_name XYZ --clone_name clone1 \ --clone_path /tmp/testclonepath Creating Storage Checkpoint XYZ_rw_1334030056 ... Done Storage Checkpoint XYZ_rw_1334030056 created Mounting Checkpoint to /tmp/testclonepath... Done Relocating/ Renaming clone database clone1 ... Done Initializing clone database clone1 ... Done Activating clone database clone1 ... Done
This command creates a Storage Checkpoint of the Database Storage Checkpoint XYZ and then mounts the newly created Database Storage Checkpoint to the specified mount point in the read-write mode and recovers the mounted Storage Checkpoint.
If you do not specify checkpoint_name and clone_name, they are automatically generated.