Veritas FlashSnap Point-In-Time Copy Solutions 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009
■ As the Sybase database administrator, release the database from quiesce
mode using a script such as that shown in the example.
See “Script to release a Sybase ASE database from quiesce mode”
on page 89.
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
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
Symantec NetBackup. After the backup is complete, use the following
command to unmount the file system.
# unmount 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.
Online database backup
Making a backup of an online database on the same host
46