VERITAS Storage Foundation 4.1 Oracle Administrator's Guide

Chapter 10, Using Database FlashSnap for Backup and Off-Host Processing
Prerelease 8 September 2005, 8:55am Backing Up the Database from Snapshot Volumes (dbed_vmclonedb)
239
Prerequisites
You must be logged in as the Oracle database administrator to use dbed_vmclonedb
command.
Before you can use the dbed_vmclonedb command, you must complete the steps in
Summary of Database Snapshot Steps” on page 216, “Validating a Snapplan
(dbed_vmchecksnap)” on page 229, and Creating a Snapshot (dbed_vmsnap)” on page 235.
The volume snapshot must contain the entire database.
Before you can use the dbed_vmclonedb command with the -r relocate_path
option (which specifies the initial mount point for the snapshot image), the system
administrator must create the mount point and then change the owner to the Oracle database
administrator.
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.
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 as follows.
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 backup an individual file or a group of files under a directory onto the backup media.