From 61bed7f861f5876e79e4fd61ab8230f1257bbb76 Mon Sep 17 00:00:00 2001 From: dadada Date: Sun, 18 Jun 2023 19:25:14 +0200 Subject: [PATCH] backup1: Fixup backup path --- nixos/modules/backup.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/backup.nix b/nixos/modules/backup.nix index 4c956ea..1e6d5d6 100644 --- a/nixos/modules/backup.nix +++ b/nixos/modules/backup.nix @@ -158,8 +158,8 @@ in services.borgbackup.jobs.backup1 = mkIf cfg.bs.enable { paths = "/"; exclude = backupExcludes; - repo = "borg@backup1.dadada.li:/mnt/storage/backup/${config.networking.hostName}"; - doInit = false; + repo = "borg@backup1.dadada.li:/mnt/storage/backups/${config.networking.hostName}"; + doInit = true; environment = { BORG_RSH = "ssh -6 -i ${cfg.backup1.sshIdentityFile} -o 'StrictHostKeyChecking accept-new' -o 'TCPKeepAlive=yes'"; };