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 : 1 Block Device : /dev/fssnap/1 Raw Device : /dev/rfssnap/1 Mount point : /usr Device state : idle Backing store path : /var/tmp/snapshot2 Backing store size : 544 KB Maximum backing store size : Unlimited Snapshot create time : Mon Jul 12 10:37:50 2010 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 has been backed up.
For example:
# ufsrestore tf /dev/rmt/0 |