Veritas FlashSnap Point-In-Time Copy Solutions 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009
11
On the primary host, re-import the snapshot volume’s disk group using the
following command:
# vxdg [-s] import snapvoldg
Note: Specify the -s option if you are reimporting the disk group to be rejoined
with a shared disk group in a cluster.
12
On the primary host, use the following command to rejoin the snapshot
volume’s disk group with the original volume’s disk group:
# vxdg join snapvoldg volumedg
13
The snapshot volume is initially disabled following the join. Use the following
command on the primary host to recover and restart a snapshot volume:
# vxrecover -g volumedg -m snapvol
14
On the primary host, reattach the snapshot volumes to their original volume
using the following command:
# vxsnap -g volumedg reattach snapvol source=vol \
[snapvol2 source=vol2]...
For example, to reattach the snapshot volumes svol1, svol2 and svol3:
# vxsnap -g dbasedg reattach svol1 source=vol1 \
svol2 source=vol2 svol3 source=vol3
While the reattached plexes are being resynchronized from the data in the
parent volume, they remain in the SNAPTMP state. After resynchronization is
complete, the plexes are placed in the SNAPDONE state. You can use the vxsnap
print command to check on the progress of synchronization.
Repeat steps 2 through 14 each time that you need to back up the volume.
For an example of a script that uses this method, see Script to initiate online
off-host backup of an Oracle database.
In some instances, such as recovering the contents of a corrupted volume, it may
be useful to resynchronize a volume from its snapshot volume (which is used as
a hot standby):
# vxsnap -g diskgroup restore volume source=snapvol \
destroy=yes|no
51Online database backup
Making an off-host backup of an online database