From ac65ace42a6391d04ffed747831aed6f855f8981 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 8 Nov 2022 08:50:32 +0100 Subject: ... --- hosts/vidhar/borg/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'hosts/vidhar/borg') diff --git a/hosts/vidhar/borg/default.nix b/hosts/vidhar/borg/default.nix index 80ce9c7e..5e983434 100644 --- a/hosts/vidhar/borg/default.nix +++ b/hosts/vidhar/borg/default.nix @@ -26,9 +26,11 @@ let Type = "oneshot"; ExecStart = "${pkgs.borgbackup}/bin/borg ${utils.escapeSystemdExecArgs [ "--lock-wait" "3600" + "--log-json" "--progress" "check" "--verify-data" + "--max-duration" "4500" ]} %I"; Environment = [ "BORG_BASE_DIR=/var/lib/borg" @@ -80,13 +82,13 @@ in { systemd.timers."check-borg@${utils.escapeSystemdPath "/srv/backup/borg/jotnar"}" = { wantedBy = [ "timers.target" ]; timerConfig = { - OnCalendar = "Sun *-*-02..08 01:30:00 Europe/Berlin"; + OnCalendar = "*-*-* 00:30:00 UTC"; }; }; systemd.timers."check-borg@${utils.escapeSystemdPath "yggdrasil.borgbase:repo"}" = { wantedBy = [ "timers.target" ]; timerConfig = { - OnCalendar = "Sun *-*-02..08 01:30:00 Europe/Berlin"; + OnCalendar = "*-*-* 00:30:00 UTC"; }; }; -- cgit v1.2.3