From 52161e0aa1c056cb9012c1452e3dce9edfedca4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 4 Dec 2022 22:05:16 +0100 Subject: [PATCH] backup: compress postgres dumps --- modules/backup.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/backup.nix b/modules/backup.nix index 2c0585ef..7ac2d3ca 100644 --- a/modules/backup.nix +++ b/modules/backup.nix @@ -5,7 +5,7 @@ inherit (config.services.postgresql) enable; backupAll = true; compression = "zstd"; - # compressionLevel = 9; # TODO: only available with 21.11 + compressionLevel = 9; pgdumpOptions = "--create --clean"; startAt = "*-*-* 06:00:00"; };