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, ... }:
{
services.btrbk.instances.btrbk = {
onCalendar = "hourly";
settings = {
snapshot_preserve = "40d";
snapshot_preserve_min = "7d";
snapshot_dir = "/btrbk_snapshots";
subvolume = "/home";
services.btrbk = {
extraPackages = [ pkgs.mbuffer ];
instances.btrbk = {
onCalendar = "hourly";
settings = {
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"
"networkmanager"
];
packages = with pkgs; [];
shell = pkgs.fish;
};