backup
This commit is contained in:
parent
65e096c381
commit
df81fe36f5
2 changed files with 13 additions and 8 deletions
|
|
@ -1,13 +1,19 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.btrbk.instances.btrbk = {
|
||||
services.btrbk = {
|
||||
extraPackages = [ pkgs.mbuffer ];
|
||||
instances.btrbk = {
|
||||
onCalendar = "hourly";
|
||||
settings = {
|
||||
snapshot_preserve = "40d";
|
||||
snapshot_preserve_min = "7d";
|
||||
snapshot_dir = "/btrbk_snapshots";
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@
|
|||
"wheel"
|
||||
"networkmanager"
|
||||
];
|
||||
packages = with pkgs; [];
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue