about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/common/server/grafana.nix1
-rw-r--r--hosts/common/server/prometheus.nix1
-rw-r--r--hosts/common/server/unifi.nix1
3 files changed, 3 insertions, 0 deletions
diff --git a/hosts/common/server/grafana.nix b/hosts/common/server/grafana.nix
index 61445a8..474c4e2 100644
--- a/hosts/common/server/grafana.nix
+++ b/hosts/common/server/grafana.nix
@@ -32,6 +32,7 @@
       paths = [ "/var/lib/grafana/data" ];
       repository = "/data/slow/backups/systems";
       passwordFile = config.age.secrets.restic-repo-systems.path;
+      timerConfig = { OnCalendar = "00:05"; };
       initialize = true;
       extraBackupArgs = [ "--tag grafana" ];
       pruneOpts = [ "--keep-daily 7" "--keep-weekly 4" ];
diff --git a/hosts/common/server/prometheus.nix b/hosts/common/server/prometheus.nix
index d097cff..3c4ab94 100644
--- a/hosts/common/server/prometheus.nix
+++ b/hosts/common/server/prometheus.nix
@@ -62,6 +62,7 @@ in {
       repository = "/data/slow/backups/systems";
       passwordFile = config.age.secrets.restic-repo-systems.path;
       initialize = true;
+      timerConfig = { OnCalendar = "00:25"; };
       extraBackupArgs = [ "--tag prometheus" ];
       pruneOpts = [ "--keep-daily 7" "--keep-weekly 4" ];
     };
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" ];
       };