configure gitlab backups

This commit is contained in:
cy 2024-12-21 16:58:45 -05:00
parent 0a104152ef
commit ef48e8a4ee
2 changed files with 6 additions and 1 deletions

View file

@ -25,7 +25,6 @@
./ghost.nix ./ghost.nix
./conduit.nix ./conduit.nix
./immich.nix ./immich.nix
./conduwuit.nix
]; ];
sops.age.keyFile = "/root/.config/sops/age/keys.txt"; sops.age.keyFile = "/root/.config/sops/age/keys.txt";

View file

@ -18,5 +18,11 @@
jwsFile = config.sops.secrets."gitlab/jws".path; jwsFile = config.sops.secrets."gitlab/jws".path;
dbFile = config.sops.secrets."gitlab/db".path; dbFile = config.sops.secrets."gitlab/db".path;
}; };
backup = {
startAt = "daily";
# we already postgresqlbackup.service
skip = [ "db" ];
keepTime = 48; # hours
};
}; };
} }