diff --git a/hosts/nihilus/default.nix b/hosts/nihilus/default.nix index 46bda08..bde7ba7 100644 --- a/hosts/nihilus/default.nix +++ b/hosts/nihilus/default.nix @@ -31,8 +31,8 @@ mode = "write"; } { - name = "brontes-backup"; - comment = "brontes's backup space"; + name = "shan"; + comment = "backups for shan"; mode = "write"; } { diff --git a/hosts/shan/default.nix b/hosts/shan/default.nix index e4ffaf4..063b953 100644 --- a/hosts/shan/default.nix +++ b/hosts/shan/default.nix @@ -89,6 +89,21 @@ rsync-backup = { enable = true; modules = [ + { + sources = [ + "/var/lib/paperless" + "/var/lib/radicale" + "/var/lib/navidrome" + "/var/lib/immich" + "/var/lib/freshrss" + ]; + target = { + location = "shan"; + type = "rsyncd"; + host = "nihilus"; + }; + incremental.enable = true; + } { sources = [ "/var/lib/paperless" ]; target = { @@ -143,7 +158,6 @@ }; incremental.enable = true; } - ]; }; };