This commit is contained in:
Till 2023-07-06 01:12:16 +02:00
parent 65e096c381
commit df81fe36f5
2 changed files with 13 additions and 8 deletions

View file

@ -1,13 +1,19 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
services.btrbk.instances.btrbk = { services.btrbk = {
onCalendar = "hourly"; extraPackages = [ pkgs.mbuffer ];
settings = { instances.btrbk = {
snapshot_preserve = "40d"; onCalendar = "hourly";
snapshot_preserve_min = "7d"; settings = {
snapshot_dir = "/btrbk_snapshots"; subvolume = "/home";
subvolume = "/home"; snapshot_preserve = "40d";
snapshot_preserve_min = "4d";
snapshot_dir = "/btrbk_snapshots";
target = "/run/media/till/backup";
target_preserve_min = "no";
target_preserve = "40d 52w *m";
};
}; };
}; };
} }

View file

@ -28,7 +28,6 @@
"wheel" "wheel"
"networkmanager" "networkmanager"
]; ];
packages = with pkgs; [];
shell = pkgs.fish; shell = pkgs.fish;
}; };