Replace znapzend with ZFS auto snapshot

This commit is contained in:
coolneng 2020-12-12 16:03:21 +01:00
parent 6669a824a7
commit 934416d576
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 7 additions and 26 deletions

View File

@ -80,33 +80,14 @@
''; '';
}; };
# ZFS automatic snapshotting # ZFS automatic snapshots
services.znapzend = { services.zfs.autoSnapshot = {
enable = true; enable = true;
autoCreation = true; frequent = 4;
features = { hourly = 24;
compressed = true; daily = 7;
recvu = true; weekly = 4;
}; monthly = 12;
zetup = {
"vault/backups" = {
plan = "1day=>1hour,1month=>1day,1year=>1month";
recursive = true;
mbuffer.enable = true;
};
"vault/syncthing" = {
plan = "1hour=>15min,1day=>15min,1month=>1day,1year=>1month";
recursive = true;
mbuffer.enable = true;
};
"vault/git" = {
plan = "1hour=>15min,1day=>1hour,1month=>1day,1year=>1month";
recursive = true;
mbuffer.enable = true;
};
};
}; };
} }