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
services.znapzend = {
# ZFS automatic snapshots
services.zfs.autoSnapshot = {
enable = true;
autoCreation = true;
features = {
compressed = true;
recvu = true;
};
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;
};
};
frequent = 4;
hourly = 24;
daily = 7;
weekly = 4;
monthly = 12;
};
}