From ef48e8a4ee2fa3f91bb00bc74e36aa82af412406 Mon Sep 17 00:00:00 2001 From: cy Date: Sat, 21 Dec 2024 16:58:45 -0500 Subject: [PATCH] configure gitlab backups --- hosts/chunk/default.nix | 1 - hosts/chunk/gitlab.nix | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/chunk/default.nix b/hosts/chunk/default.nix index f45b369..216ed72 100644 --- a/hosts/chunk/default.nix +++ b/hosts/chunk/default.nix @@ -25,7 +25,6 @@ ./ghost.nix ./conduit.nix ./immich.nix - ./conduwuit.nix ]; sops.age.keyFile = "/root/.config/sops/age/keys.txt"; diff --git a/hosts/chunk/gitlab.nix b/hosts/chunk/gitlab.nix index 818d727..91f36d8 100644 --- a/hosts/chunk/gitlab.nix +++ b/hosts/chunk/gitlab.nix @@ -18,5 +18,11 @@ jwsFile = config.sops.secrets."gitlab/jws".path; dbFile = config.sops.secrets."gitlab/db".path; }; + backup = { + startAt = "daily"; + # we already postgresqlbackup.service + skip = [ "db" ]; + keepTime = 48; # hours + }; }; }