Simple backup scripts to manage ZFS snapshots for filesystem backups.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This is a collection of scripts that simplify the management of ZFS snapshots for filesystem backups.


This script will maintain an incremental zfs snapshot that is mirrored on a remote system (today/yesterday).


This script is designed to be run every half hour, and maintains a snapshot for the previous hour. To setup this script, add the following to the user's cronjob with permissions to perform snapshots

*/30 * * * * /usr/home/test/


These scripts should be used by a non-root user setup and configured to create/destroy snapshots. The following will setup the necessary permissions for the zfs-user to manage snapshots for tank:

zfs allow -d zfs-user create,destroy,snapshot,hold,mount,send,rename,receive tank