Identify the UFS snapshot to be backed up.
# /usr/lib/fs/ufs/fssnap -i /file-system |
For example:
# /usr/lib/fs/ufs/fssnap -i /usr Snapshot number : 0 Block Device : /dev/fssnap/0 Raw Device : /dev/rfssnap/0 Mount point : /usr Device state : idle Backing store path : /var/tmp/back.store Backing store size : 576 KB Maximum backing store size : Unlimited Snapshot create time : Wed Dec 12 09:39:37 2001 Copy-on-write granularity : 32 KB |
Back up the UFS snapshot.
# ufsdump 0ucf /dev/rmt/0 /snapshot-name |
For example:
# ufsdump 0ucf /dev/rmt/0 /dev/rfssnap/1 |
Verify that the snapshot is backed up.
# ufsrestore tf /dev/rmt/0 |