backup1: Fixup backup path

This commit is contained in:
Tim Schubert 2023-06-18 19:25:14 +02:00
parent 414e596e99
commit 61bed7f861
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA

View file

@ -158,8 +158,8 @@ in
services.borgbackup.jobs.backup1 = mkIf cfg.bs.enable { services.borgbackup.jobs.backup1 = mkIf cfg.bs.enable {
paths = "/"; paths = "/";
exclude = backupExcludes; exclude = backupExcludes;
repo = "borg@backup1.dadada.li:/mnt/storage/backup/${config.networking.hostName}"; repo = "borg@backup1.dadada.li:/mnt/storage/backups/${config.networking.hostName}";
doInit = false; doInit = true;
environment = { environment = {
BORG_RSH = "ssh -6 -i ${cfg.backup1.sshIdentityFile} -o 'StrictHostKeyChecking accept-new' -o 'TCPKeepAlive=yes'"; BORG_RSH = "ssh -6 -i ${cfg.backup1.sshIdentityFile} -o 'StrictHostKeyChecking accept-new' -o 'TCPKeepAlive=yes'";
}; };