From 6aa452f49fcf27791327372b4aefe8f38fe8351f Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 7 Mar 2022 07:43:14 -0800 Subject: backups: spread them so they don't clash If they start running at the same time, they won't be able to succeed since there's a global lock on the repository. --- hosts/common/server/unifi.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'hosts/common/server/unifi.nix') diff --git a/hosts/common/server/unifi.nix b/hosts/common/server/unifi.nix index cf38137..ab32cec 100644 --- a/hosts/common/server/unifi.nix +++ b/hosts/common/server/unifi.nix @@ -72,6 +72,7 @@ in { repository = "/data/slow/backups/systems"; passwordFile = config.age.secrets.restic-repo-systems.path; initialize = true; + timerConfig = { OnCalendar = "00:45"; }; extraBackupArgs = [ "--tag unifi" ]; pruneOpts = [ "--keep-daily 7" "--keep-weekly 4" ]; }; -- cgit 1.4.1