zfs-auto-snapshot/etc/zfs-auto-snapshot.cron.hourly

6 lines
173 B
Bash

#!/bin/sh
# Only call zfs-auto-snapshot if it's available
exec which zfs-auto-snapshot > /dev/null && \
zfs-auto-snapshot --quiet --syslog --label=hourly --keep=24 //