btrbk: no local snapshots

This commit is contained in:
cy 2025-01-05 00:20:45 -05:00
parent 7e15d0e71e
commit 3edae41002

View file

@ -222,15 +222,15 @@
services.btrbk.instances.local = { services.btrbk.instances.local = {
onCalendar = "hourly"; onCalendar = "hourly";
# only create snapshots automatically. backups are triggered manually with `btrbk resume`
snapshotOnly = true; snapshotOnly = true;
settings = { settings = {
# only create snapshots automatically. backups are triggered manually with `btrbk resume` snapshot_preserve_min = "latest";
snapshot_preserve = "7d";
snapshot_preserve_min = "2d";
target_preserve = "*d"; target_preserve = "*d";
target_preserve_min = "no"; target_preserve_min = "no";
target = "/mnt/external/btr_backup/ytnix"; target = "/mnt/external/btr_backup/ytnix";
stream_compress = "zstd"; stream_compress = "zstd";
stream_compress_level = "8";
snapshot_dir = "/snapshots"; snapshot_dir = "/snapshots";
subvolume = { subvolume = {
"/home" = { }; "/home" = { };