shell script for rsync backup to zfs and creating snapshots with zfsnap