fwminex: merged backup dirs
This commit is contained in:
parent
cfa0d1bfb4
commit
6be2edaac1
@ -105,22 +105,19 @@ in
|
||||
enable = true;
|
||||
passwordPath = config.age.secrets.borgbackup-password.path;
|
||||
sshKeyPath = "/etc/ssh/ssh_host_ed25519_key";
|
||||
dirs = [
|
||||
# TODO: merge
|
||||
dirs =
|
||||
builtins.concatMap
|
||||
(host: [
|
||||
{
|
||||
repo = "${host}:${config.networking.hostName}.${config.networking.domain}-home-motiejus-annex2";
|
||||
subvolume = "/home";
|
||||
repo = "zh2769@zh2769.rsync.net:${config.networking.hostName}.${config.networking.domain}-home-motiejus-annex2";
|
||||
paths = [ "motiejus/annex2" ];
|
||||
backup_at = "*-*-* 02:30:01 UTC";
|
||||
}
|
||||
{
|
||||
subvolume = "/home";
|
||||
repo = "borgstor@${
|
||||
myData.hosts."vno3-rp3b.servers.jakst".jakstIP
|
||||
}:${config.networking.hostName}.${config.networking.domain}-home-motiejus-annex2";
|
||||
paths = [ "motiejus/annex2" ];
|
||||
backup_at = "*-*-* 02:30:01 UTC";
|
||||
}
|
||||
])
|
||||
[
|
||||
"zh2769@zh2769.rsync.net"
|
||||
"borgstor@${myData.hosts."vno3-rp3b.servers.jakst".jakstIP}"
|
||||
];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user