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

6 lines
174 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=monthly --keep=12 //