zfs.roll.snapshot

This script will create (or recreate, if it already exists) a ZFS snapshot, and then use the ZFS "clone" functionality to automatically mount the snapshot in an alternate location. This process prevents you from having to point the backup software at a .zfs/snapshot directory, which is clumsy.By default the script will mount the clone under /zbackup, although this behavior can be changed with options or by editing the script. Because a ZFS clone is created using the same type of copy-on-write pointers as the snapshot itself, it uses additional space only when data changes in the live volume.Read BigAdmin article that describes usage of this script: http://www.sun.com/bigadmin/content/submitted/snapshot_zfs.jsp

More...