This example shows backing up using the snapshot feature and the vradmin ibc command.
To back up using the snapshot feature and the vradmin ibc command
/etc/vx/vvr/ibc_scripts/dss_app
In the quiesce script, provide commands to put the application that is using the Primary data volumes hr_dv01 and hr_dv02 in quiesce mode.
In the unquiesce script, provide commands to resume the application or take it out of the quiesce mode.
/etc/vx/vvr/ibc_scripts/dss_app
directory on the Secondary host. In the prefreeze script, include the following commands to add snapshot plexes to the Secondary data volumes hr_dv01 and hr_dv02:#!/bin/sh /usr/sbin/vxsnap -g hrdg prepare hr_dv01 /usr/sbin/vxsnap -g hrdg prepare hr_dv02 /usr/sbin/vxassist -g hrdg make SNAP-hr_dv01 datavolume-length /usr/sbin/vxassist -g hrdg make SNAP-hr_dv02 datavolume-length /usr/sbin/vxsnap -g hrdg prepare SNAP-hr_dv01 /usr/sbin/vxsnap -g hrdg prepare SNAP-hr_dv01
In the onfreeze script, include the following command to take the snapshot of the Secondary volumes:
/usr/sbin/vxrvg -g vvrdg -F -P SNAP snapshot hr_rvg
# vradmin -g hrdg ibc hr_rvg dss_app london