Add weekly home backup

This commit is contained in:
2026-02-01 20:54:56 +01:00
parent e8bf5301bf
commit ea9d6b00f3

View File

@@ -84,6 +84,19 @@
};
};
btrbk.instances.localbackup = {
onCalendar = "weekly";
settings = {
snapshot_preserve_min = "3w";
target_preserve_min = "6w";
volume."/" = {
subvolume = "home";
target = "/media/data/home-backups";
snapshot_dir = "home/.snapshots";
};
};
};
fstrim = {
enable = true;
interval = "weekly";