Further Information
Backing Up and Restoring UNIX Specifics
Appendix AA-4
If the amount of data modified on the snapped filesystem is higher
than the space available, Data Protector produces Cannot stat error
messages for all the remaining files to be backed up. You must
unmount the snapshot filesystem and repeat the backup procedure.
2. Create a temporary directory to which you will mount the snapshot
filesystem.
3. Create shell scripts to mount and unmount the snapshot filesystem to
the temporary directory. See “Pre- and Post -exec Script Templates”
in the next section for templates of these scripts.
4. Configure a backup of the temporary directory. The mount script
must be specified as the Pre- exec command, and the unmount script
as the Post-exec command.
Pre- and Post- exec Script Templates
Here are example templates that can be configured as Data Protector
Pre- exec and Post- exec commands to mount or unmount the VxFS
filesystem.
Example A-1 Pre- exec Script Template
# SnapMount.sh
#
# Mounting snapshot filesystem (Pre-exec script)
#
# A script requires 3 parameters:
# 1. a block special file of the snapped FS
# or
# a mount point directory of the snapped FS
# 2. a block special file of the snapshot FS
# 3. a mount point of the snapshot FS
#
# NOTE:
#
# In case of multiple Disk Agents reading from the same
snapshot
# FS,
# the Pre-exec script should contain a kind of
synchronization
# mechanism for following reasons:
#
# 1) an attempt to mount an already mounted snapshot FS,