ZFS automatic hourly snapshot & mount script

This script creates a snapshot each hour and mounts it to a specified directory, providing easy read-only access to backup data, i found the need to write one due to the functionality issues in zfs-auto-snapshot and no mounting ability.

Don’t forget to edit before usage.

wget https://rdns.im/ul/zfs-snapshot-hourly.sh -O /usr/sbin/zfs-snapshot-hourly && nano /usr/sbin/zfs-snapshot-hourly && chmod +x /usr/sbin/zfs-snapshot-hourly

This entry was posted in Uncategorized. Bookmark the permalink.

Comments are closed.