VERITAS FlashSnap Point-In-Time-Copy Solutions Administrator's Guide
Chapter 3, Online Database Backup
Making an Off-Host Backup of an Online Database
35
For example, to wait for synchronization to finish for all the snapshots svol1, svol2 and
svol3, you would issue three separate commands:
# vxsnap -g dbasedg syncwait svol1
# vxsnap -g dbasedg syncwait svol2
# vxsnap -g dbasedg syncwait svol3
Note You cannot move a snapshot volume into a different disk group until synchronization of
its contents is complete. You can use the vxsnap print command to check on the
progress of synchronization.
6. On the primary host, use the following command to split the disks containing the snapshot
volumes into a separate disk group, snapvoldg, from the original disk group, volumedg:
# vxdg split volumedg snapvoldg snapvol ...
7. On the primary host, deport the snapshot volume’s disk group using the following command:
# vxdg deport snapvoldg
8. On the OHP host where the backup is to be performed, use the following command to import
the snapshot volume’s disk group:
# vxdg import snapvoldg
9. The snapshot volumes are initially disabled following the split. Use the following commands
on the OHP host to recover and restart the snapshot volumes:
# vxrecover -g snapvoldg -m snapvol ...
# vxvol -g snapvoldg start snapvol ...
10. On the OHP host, back up the snapshot volumes. If you need to remount the file system in the
volume to back it up, first run fsck on the volumes. The following are sample commands for
checking and mounting a file system:
# fsck -F vxfs /dev/vx/rdsk/snapvoldg/snapvol
# mount -F vxfs /dev/vx/dsk/snapvoldg/snapvol mount_point
Note On Linux, use the -t option, and on AIX, use the -V option, instead of the -F option
for both commands.
Back up the file system at this point using a command such as bpbackup in VERITAS
NetBackup. After the backup is complete, use the following command to unmount the file
system.
# unmount mount_point