File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,18 @@ As suggested by [Brian Koopman][bkoop] this target uses [systemd-timers][dtim]
3333instead of cron.
3434
35351 ) install the scripts:
36+
3637 ```
3738 wget https://github.com/gaerfield/zfs-auto-snapshot/archive/master.zip
3839 unzip master.zip
3940 cd zfs-auto-snapshot-master
4041 make systemd
4142 ```
43+
42442) optionally edit `zfs-auto-snapshot-frequent.timer` to snapshot more often and `zfs-auto-snapshot-frequent.service` to keep more snapshots
43453) enable zfs snapshots: `zfs set com.sun:auto-snapshot=true pool/dataset`
44464) enable timers:
47+
4548 ```
4649 systemctl enable zfs-auto-snapshot-daily.timer
4750 systemctl enable zfs-auto-snapshot-frequent.timer
@@ -51,5 +54,6 @@ instead of cron.
5154 systemctl enable zfs-auto-snapshot-monthly.timer
5255 ```
5356
57+
5458[bkoop]: https://briankoopman.com/zfs-automated-snapshots/
5559[dtim]: https://wiki.archlinux.org/index.php/Systemd/Timers
You can’t perform that action at this time.
0 commit comments