Veritas Storage Foundation 5.1 SP1 Advanced Features Administrator"s Guide (5900-1503, April 2011)
See “Script to release a Sybase ASE database from quiesce mode”
on page 517.
5
Back up the snapshot volume. If you need to remount the file system in the
volume to back it up, first run fsck on the volume. 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
Back up the file system at this point using a command such as bpbackup in
Symantec NetBackup. After the backup is complete, use the following
command to unmount the file system.
# umount mount_point
Repeat steps 2 through 5 each time that you need to back up the volume.
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
The destroy attribute specifies whether the plexes of the snapshot volume are
to be reattached to the original volume. For example, to resynchronize the volume
dbase_vol from its snapshot volume snap2_dbase_vol without removing the
snapshot volume:
# vxsnap -g dbasedg restore dbase_vol \
source=snap2_dbase_vol destroy=no
Note: You must shut down the database and unmount the file system that is
configured on the original volume before attempting to resynchronize its contents
from a snapshot.
Making an off-host backup of an online database
Figure 13-2 shows an example of two primary database volumes to be backed up,
dbase_vol and dbase_logs, which are configured on disks attached to controllers
c1 and c2, and the snapshots to be created on disks attached to controllers c3 and
c4.
Online database backup
Making an off-host backup of an online database
160