forked from extern/zfs-auto-snapshot
Cron doesn't do variable substitution and zfs-auto-snapshot doesn't load options from its environment.
8 lines
398 B
Plaintext
8 lines
398 B
Plaintext
PATH="/usr/bin:/bin:/usr/sbin:/sbin"
|
|
|
|
*/15 * * * * root zfs-auto-snapshot -q -g --label=frequent --keep=4 //
|
|
@hourly root zfs-auto-snapshot -q -g --label=hourly --keep=24 //
|
|
@daily root zfs-auto-snapshot -q -g --label=daily --keep=31 //
|
|
@weekly root zfs-auto-snapshot -q -g --label=weekly --keep=4 //
|
|
@monthly root zfs-auto-snapshot -q -g --label=monthly --keep=12 //
|