rm vno3-rp3b

This commit is contained in:
Motiejus Jakštys 2024-12-01 22:36:04 +02:00
parent 78c58273be
commit 08c740909f

View File

@ -348,7 +348,6 @@ in
hosts = [ hosts = [
"fwminex.servers.jakst" "fwminex.servers.jakst"
"fra1-b.servers.jakst" "fra1-b.servers.jakst"
"vno3-rp3b.servers.jakst"
"vno1-gdrx.motiejus.jakst" "vno1-gdrx.motiejus.jakst"
]; ];
in in
@ -402,7 +401,6 @@ in
"fra1-b.servers.jakst" "fra1-b.servers.jakst"
"fwminex.servers.jakst" "fwminex.servers.jakst"
"mtworx.motiejus.jakst" "mtworx.motiejus.jakst"
"vno3-rp3b.servers.jakst"
"vno1-gdrx.motiejus.jakst" "vno1-gdrx.motiejus.jakst"
]; ];
}; };
@ -498,48 +496,42 @@ in
enable = true; enable = true;
passwordPath = config.age.secrets.borgbackup-password.path; passwordPath = config.age.secrets.borgbackup-password.path;
sshKeyPath = "/etc/ssh/ssh_host_ed25519_key"; sshKeyPath = "/etc/ssh/ssh_host_ed25519_key";
dirs = dirs = builtins.concatMap (
builtins.concatMap host:
( let
host: prefix = "${host}:${config.networking.hostName}.${config.networking.domain}";
let in
prefix = "${host}:${config.networking.hostName}.${config.networking.domain}"; [
in {
[ subvolume = "/var/lib";
{ repo = "${prefix}-var_lib";
subvolume = "/var/lib"; paths = [
repo = "${prefix}-var_lib"; "hass"
paths = [ "gitea"
"hass" "caddy"
"gitea" "grafana"
"caddy" "headscale"
"grafana" "bitwarden_rs"
"headscale" "matrix-synapse"
"bitwarden_rs" "private/soju"
"matrix-synapse"
"private/soju"
# https://immich.app/docs/administration/backup-and-restore/ # https://immich.app/docs/administration/backup-and-restore/
"immich/library" "immich/library"
"immich/upload" "immich/upload"
"immich/profile" "immich/profile"
"postgresql" "postgresql"
]; ];
patterns = [ "- gitea/data/repo-archive/" ]; patterns = [ "- gitea/data/repo-archive/" ];
backup_at = "*-*-* 01:00:01 UTC"; backup_at = "*-*-* 01:00:01 UTC";
} }
{ {
subvolume = "/home"; subvolume = "/home";
repo = "${prefix}-home-motiejus-annex2"; repo = "${prefix}-home-motiejus-annex2";
paths = [ "motiejus/annex2" ]; paths = [ "motiejus/annex2" ];
backup_at = "*-*-* 02:30:01 UTC"; backup_at = "*-*-* 02:30:01 UTC";
} }
] ]
) );
[
"zh2769@zh2769.rsync.net"
"borgstor@${myData.hosts."vno3-rp3b.servers.jakst".jakstIP}"
];
}; };
btrfssnapshot = { btrfssnapshot = {
@ -615,10 +607,6 @@ in
derivationTarget = ".#vno1-gdrx"; derivationTarget = ".#vno1-gdrx";
pingTarget = myData.hosts."vno1-gdrx.motiejus.jakst".jakstIP; pingTarget = myData.hosts."vno1-gdrx.motiejus.jakst".jakstIP;
} }
{
derivationTarget = ".#vno3-rp3b";
pingTarget = myData.hosts."vno3-rp3b.servers.jakst".jakstIP;
}
]; ];
}; };