Veritas Storage Foundation™ for Oracle 5.0.1 Administrator's Guide
$ /opt/VRTS/bin/dbed_vmchecksnap -S PROD -H /oracle/product/9i \
-f snap2 -o setdefaults -t host2
Snapplan snap2 for PROD.
=====================================================
SNAPSHOT_VERSION=5.0
PRIMARY_HOST=host1
SECONDARY_HOST=host2
PRIMARY_DG=PRODdg1:PRODdg2
ORACLE_SID=PROD
ARCHIVELOG_DEST=/mytest/arch
SNAPSHOT_ARCHIVE_LOG=yes
SNAPSHOT_MODE=online
SNAPSHOT_PLAN_FOR=database
SNAPSHOT_PLEX_TAG=dbed_flashsnap
SNAPSHOT_DG_PREFIX=SNAP_
SNAPSHOT_VOL_PREFIX=SNAP_
ALLOW_REVERSE_RESYNC=no
SNAPSHOT_MIRROR=1
By default, a snapplan’s SNAPSHOT_PLEX_TAG value is set as dbed_flashsnap. You
can use the -p option to assign a different tag name. Use the -p option when
creating the snapplan with the setdefaults option.
In the following example, the -p option is used with setdefaults to assign my_tag
as the SNAPSHOT_PLEX_TAG value.
$ dbed_vmchecksnap -S $ORACLE_SID -H $ORACLE_HOME -o setdefaults \
-p my_tag -f snap1 -t host2
Snapplan snap1 for PROD
=====================================================
SNAPSHOT_VERSION=5.0
PRIMARY_HOST=host1
SECONDARY_HOST=host2
PRIMARY_DG=PRODdg1:PRODdg2
ORACLE_SID=PROD
ARCHIVELOG_DEST=/arch_data
SNAPSHOT_ARCHIVE_LOG=yes
SNAPSHOT_MODE=online
SNAPSHOT_PLAN_FOR=database
SNAPSHOT_PLEX_TAG=my_tag
SNAPSHOT_DG_PREFIX=SNAP_
SNAPSHOT_VOL_PREFIX=SNAP_
259Using Database FlashSnap for backup and off-host processing
Creating a snapplan (dbed_vmchecksnap)