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 Displaying, Copying, and Removing a Snapplan (dbed_vmchecksnap)
231
SNAPSHOT_VERSION=4.0
PRIMARY_HOST=host1
SECONDARY_HOST=host1
PRIMARY_DG=PRODdg
SNAPSHOT_DG=SNAP_PRODdg
ORACLE_SID=PROD
ARCHIVELOG_DEST=/prod_ar
SNAPSHOT_ARCHIVE_LOG=yes
SNAPSHOT_MODE=online
SNAPSHOT_PLAN_FOR=database
SNAPSHOT_PLEX_TAG=dbed_flashsnap
SNAPSHOT_VOL_PREFIX=SNAP_
ALLOW_REVERSE_RESYNC=yes
SNAPSHOT_MIRROR=1
STORAGE_INFO
PRODdg02
SNAP_PLEX=prod_ar-02
STATUS_INFO
SNAP_STATUS=init_full
DB_STATUS=init
LOCAL_SNAPPLAN=/export/snap_dir/snap1
To copy a snapplan from the VxDBA repository to your current directory
If you want to create a snapplan similar to an existing snapplan, you can simply create a copy of the
existing snapplan and modify it. To copy a snapplan from the VxDBA repository to your current
directory, the snapplan must not already be present in the current directory.
Use the dbed_vmchecksnap command as follows:
$ /opt/VRTS/bin/dbed_vmchecksnap -S ORACLE_SID \
-f SNAPPLAN -o copy
Example
In the following example, the snapplan, snap1, is copied from the VxDBA repository to the
current directory.
$ /opt/VRTS/bin/dbed_vmchecksnap -S PROD \
-f snap1 -o copy
Copying 'snap1' to '/export/snap_dir'
To remove a snapplan from the VxDBA repository
A snapplan can be removed from a local directory or repository if the snapplan is no longer needed.
Use the dbed_vmchecksnap command as follows: