This method performs the backup directly from the Secondary data volumes while the replication to Secondary is frozen. Make sure the Secondary SRL is large enough to hold the writes sent from the Primary while the backup is in progress. In this method, the Secondary data volumes are under replication control, and hence you cannot write to them. Use this method only if the backup process does not perform any writes to the Secondary data volumes.
To perform block-level backup of the Secondary data
/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.
In the onfreeze script, include the following commands to perform block-level backup of the Secondary data volumes:
#!/bin/sh dd if=/dev/vx/rdsk/hrdg/hr_dv01 of=/dev/rmt/0 dd if=/dev/vx/rdsk/hrdg/hr_dv02 of=/dev/rmt/0
# vradmin -g hrdg ibc hr_rvg dss_app london