about summary refs log tree commit diff
path: root/systems/cobalt/default.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-08-02 10:18:13 +0900
committersefidel <contact@sefidel.net>2023-08-02 10:33:03 +0900
commit472deaafed26610f15d8b46fdb6470a765ca6f93 (patch)
tree0429f50995de904b0cea9caa328b684b375e2ab4 /systems/cobalt/default.nix
parent718a92694e822106c66bba8a106f042e1ffa6afe (diff)
downloadinfra-472deaafed26610f15d8b46fdb6470a765ca6f93.tar.gz
infra-472deaafed26610f15d8b46fdb6470a765ca6f93.zip
feat(services/backup): use static backup for pgsql
Diffstat (limited to 'systems/cobalt/default.nix')
-rw-r--r--systems/cobalt/default.nix3
1 files changed, 3 insertions, 0 deletions
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";