Veritas Storage Foundation 5.0 for Oracle RAC Configuration Guide Extracts for HP Serviceguard Storage Management Suite, Second Edition, May 2008

Using FlashSnap for Backup and Recovery
Backing Up the Database from Snapshot Volumes (dbed_vmclonedb)
Chapter 5
105
NOTE You cannot access Database FlashSnap commands (dbed_vmchecksnap, dbed_vmsnap,
and dbed_vmclonedb) with the VxDBA menu utility.
Mounting the Snapshot Volumes and Backing Up
Before using the snapshot volumes to do a backup, you must first mount them.
To mount the snapshot volumes
Use the dbed_vmclonedb command as follows:
$ /opt/VRTS/bin/dbed_vmclonedb -S ORACLE_SID -g snap_dg \
-o mount,new_sid=new_sid -f SNAPPLAN [-H ORACLE_HOME] \
[-r relocate_path]
You can now back up an individual file or a group of files under a directory onto the
backup media.
In this example, snapshot volumes are mounted.
$ /opt/VRTS/bin/dbed_vmclonedb -S PROD -g SNAP_PRODdg \
-o mount,new_SID=NEWPROD -f snap1 -r /clone/single
dbed_vmclonedb started at 2006-03-02 15:35:41
Mounting /clone/single/prod_db on /dev/vx/dsk/SNAP_PRODdg/SNAP_prod_db.
Mounting /clone/single/prod_ar on /dev/vx/dsk/SNAP_PRODdg/SNAP_prod_ar.
dbed_vmclonedb ended at 2006-03-02 15:35:50
To mount a Storage Checkpoint carried over from the snapshot volumes to a secondary
host
1. On the secondary host, list the Storage Checkpoints carried over from the primary
database using:
$ /opt/VRTS/bin/dbed_ckptdisplay -S ORACLE_SID -n
2. You can mount one of the listed Storage Checkpoints using:
$ /opt/VRTS/bin/dbed_ckptmount -S ORACLE_SID -c CKPT_NAME \
-m MOUNT_POINT
Usage Notes The dbed_vmclonedb command can be used on the secondary
host.
In a single-host configuration, the primary and secondary hosts
are the same.
In a single-host configuration, -r relocate_path is required.
In a two-host configuration, the vxdbavol=vol_name option is
required.
•If SNAPSHOT_MODE is set to offline or instant, a two-host
configuration is required and -r relocate_path is not allowed.
See the dbed_vmclonedb(1M) manual page for more information.
Table 5-8 Backup Snapshot Notes (Continued)