backup: minor fixups

This commit is contained in:
Kabbone 2024-10-19 08:43:49 +02:00
parent 3adb782cba
commit c59f1165be
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY
2 changed files with 8 additions and 2 deletions

View File

@ -69,7 +69,7 @@
snapshot_preserve_min = "all";
target_preserve_min = "no";
target_preserve = "2m 4w";
target_preserve = "2m 4w 3d";
ssh_identity = "/etc/btrbk/ssh/id_ed25519_btrbk_nas";
ssh_user = "btrbk";
@ -87,6 +87,12 @@
};
};
systemd.services = {
btrbk-bak = {
after = [ "network.target" ];
};
};
fileSystems."/" =
{ device = "/dev/disk/by-id/nvme-ADATA_SX8200PNP_2J3320119186-part2";
fsType = "btrfs";

View File

@ -11,7 +11,7 @@
}
{
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIma7jNVQZM+lFMOKUex0+cyDpeUA3Wo4SEJ7P9YnHPG";
roles = [ "target" "info" "receive" ];
roles = [ "target" "info" "receive" "delete" ];
}
];
};