zfs autosnapshots

This commit is contained in:
2026-06-20 20:34:41 -05:00
parent ab2f0a6e6a
commit 779a6c4f41
5 changed files with 19 additions and 7 deletions
@@ -47,6 +47,14 @@ in {
services.zfs = {
autoScrub.enable = true;
autoScrub.interval = "weekly";
autoSnapshot = {
enable = true;
frequent = 4; # 15 min snapshots
hourly = 24; # hourly snapshots
daily = 7; # daily snapshots
weekly = 4; # weekly snapshots
monthly = 12; # monthly snapshots
};
# email notifs
zed = {
enableMail = true;