diff --git a/modules/nixos/common/otf.nix b/modules/nixos/common/otf.nix index 887ad6c..7401d95 100644 --- a/modules/nixos/common/otf.nix +++ b/modules/nixos/common/otf.nix @@ -70,7 +70,15 @@ in } ]; }; + # With a database comes a dumping. + services.postgresqlBackup = { + enable = true; + compression = "zstd"; + compressionLevel = 11; + # Start at every 3 days starting from the first day of the month. + startAt = "*-*-1/3"; + }; systemd.services.otf = { description = "Open Terraform Framework"; after = [