diff --git a/hosts/desktop/hardware-configuration.nix b/hosts/desktop/hardware-configuration.nix index 102b87b..2ee21db 100644 --- a/hosts/desktop/hardware-configuration.nix +++ b/hosts/desktop/hardware-configuration.nix @@ -34,7 +34,7 @@ }; services.btrbk = { - extraPackages = [ pkgs.lz4 ]; + extraPackages = [ pkgs.lz4 pkgs.mbuffer ]; instances = { hf = { onCalendar = "hourly"; @@ -60,6 +60,7 @@ bak = { onCalendar = "daily"; settings = { + stream_buffer = "256m"; stream_compress = "lz4"; incremental = "yes"; snapshot_create = "no"; diff --git a/hosts/jupiter/hardware-configuration.nix b/hosts/jupiter/hardware-configuration.nix index 730528d..56b3357 100644 --- a/hosts/jupiter/hardware-configuration.nix +++ b/hosts/jupiter/hardware-configuration.nix @@ -50,7 +50,7 @@ }; services.btrbk = { - extraPackages = [ pkgs.lz4 ]; + extraPackages = [ pkgs.lz4 pkgs.mbuffer ]; instances = { hf = { onCalendar = "hourly"; diff --git a/hosts/nasbackup/hardware-configuration.nix b/hosts/nasbackup/hardware-configuration.nix index e62329e..26ebd6d 100644 --- a/hosts/nasbackup/hardware-configuration.nix +++ b/hosts/nasbackup/hardware-configuration.nix @@ -51,7 +51,7 @@ }; services.btrbk = { - extraPackages = [ pkgs.lz4 ]; + extraPackages = [ pkgs.lz4 pkgs.mbuffer ]; instances = { hf = { onCalendar = "hourly"; @@ -78,6 +78,7 @@ bak = { onCalendar = "weekly"; settings = { + stream_buffer = "265m"; stream_compress = "lz4"; incremental = "yes"; snapshot_create = "no"; @@ -114,33 +115,6 @@ }; }; }; -# lf = { -# onCalendar = "daily"; -# settings = { -# incremental = "yes"; -# snapshot_create = "ondemand"; -# snapshot_dir = "@snapshots"; -# timestamp_format = "long"; -# -# snapshot_preserve = "2m 2w 5d"; -# snapshot_preserve_min = "latest"; -# -# volume = { -# "/mnt/snapshots/Pluto" = { -# snapshot_create = "always"; -# subvolume = { -# "@" = {}; -# "@/Backups" = {}; -# "@/Games" = {}; -# "@/IT" = {}; -# "@/Media" = {}; -# "@/Pictures" = {}; -# "@/Rest" = {}; -# }; -# }; -# }; -# }; -# }; }; };