diff --git a/hosts/nasbackup/hardware-configuration.nix b/hosts/nasbackup/hardware-configuration.nix index 26ebd6d..ff6d542 100644 --- a/hosts/nasbackup/hardware-configuration.nix +++ b/hosts/nasbackup/hardware-configuration.nix @@ -88,16 +88,22 @@ snapshot_preserve_min = "all"; target_preserve_min = "no"; target_preserve = "4w 2m"; + archive_preserve_min = "no"; + archive_preserve = "4w 2m"; ssh_identity = "/etc/btrbk/ssh/id_ed25519_btrbk"; ssh_user = "btrbk"; volume = { "ssh://jupiter.home.opel-online.de:2220/mnt/snapshots/Mars" = { - target = "/mnt/nas/Backups/Mars"; subvolume = { - "@nas" = {}; - "@hades/@home" = {}; + "@nas" = { + target = "/mnt/nas/Backups/Mars"; + }; + "@hades/@home" = { + target = "/mnt/nas/Backups/Hades"; + snapshot_dir = "@snapshots/@hades"; + }; }; }; };