Enhance backups

This commit is contained in:
2026-02-01 21:44:18 +01:00
parent 55bd6b32d6
commit 6c93272fe4

View File

@@ -88,15 +88,34 @@
}; };
}; };
btrbk.instances.localbackup = { btrbk.instances = {
onCalendar = "weekly"; daily_ssd = {
settings = { onCalendar = "daily";
snapshot_preserve_min = "3w"; settings = {
target_preserve_min = "6w"; timestamp_format = "long";
volume."/" = { snapshot_preserve = "7d";
subvolume = "home";
target = "/media/data/home-backups"; volume."/" = {
snapshot_dir = "home/.snapshots"; subvolume = "home";
snapshot_dir = "home/.snapshots";
};
};
};
weekly_hdd = {
onCalendar = "weekly";
settings = {
timestamp_format = "long";
snapshot_preserve_min = "latest";
target_preserve = "20w";
volume."/" = {
subvolume = "home";
snapshot_dir = "home/.snapshots";
target = "/media/data/home-backups";
};
}; };
}; };
}; };