HP JFS 3.3 and HP OnLineJFS 3.3 VERITAS File System 3.3 System Administrator's Guide

Chapter 4 89
Online Backup
Using a Snapshot File System for Backup
point of /backup/home:
To back up files changed within the last week using cpio:
# mount -F vxfs -o snapof=/dev/dsk/c0t0d0, \
snapsize=100000 /dev/dsk/c0t1d0 /backup/home
# cd /backup
# find home -ctime -7 -depth -print | \
cpio -oc > /dev/rmt/0m
# umount /backup/home
To do a full backup of /dev/dsk/c0t0d0 and use dd to control
blocking of output onto tape device using vxdump:
# vxdump f - /dev/rdsk/c0t0d0 | dd bs=128k >
/dev/rmt/0m
To do a level 3 backup of /dev/dsk/c0t0d0 and collect those files
that have changed in the current directory:
# vxdump 3f - /dev/rdsk/c0t0d0 | vxrestore -xf -
To do a full backup of a snapshot file system:
# mount -o snapof=/dev/dsk/c0t0d0,snapsize=100000 \
/dev/dsk/c0t1d0 /backup/home
# vxdump f - /dev/rdsk/c0t1d0 | dd bs=128k >
/dev/rmt/0m
The vxdump utility will ascertain whether /dev/rdsk/c0t1d0 is a
snapshot mounted as /backup/home and do the appropriate work to get
the snapshot data through the mount point.