about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--modules/services/backup.nix2
-rw-r--r--systems/cobalt/default.nix3
2 files changed, 4 insertions, 1 deletions
diff --git a/modules/services/backup.nix b/modules/services/backup.nix
index 41d2329..9770b43 100644
--- a/modules/services/backup.nix
+++ b/modules/services/backup.nix
@@ -74,7 +74,7 @@ in
       # use borg 1.0+ on rsync.net
       extraCreateArgs = "--verbose --stats --checkpoint-interval 600";
       compression = "auto,zstd";
-      startAt = "daily";
+      startAt = "*-*-* 03:00:00"; # pgsql backup runs on 01:15:00
       persistentTimer = true;
     };
   };
diff --git a/systems/cobalt/default.nix b/systems/cobalt/default.nix
index fa1cd8b..fabc687 100644
--- a/systems/cobalt/default.nix
+++ b/systems/cobalt/default.nix
@@ -182,6 +182,9 @@ in
       exclude = [
         # Rust build files
         "/home/**/target"
+
+        # Static backup created in /persist/var/backup/postgresql
+        "/persist/var/lib/postgresql"
       ];
 
       repo = "20963@hk-s020.rsync.net:rolling/exotic/cobalt";