backup: compress postgres dumps

This commit is contained in:
Sandro - 2022-12-04 22:05:16 +01:00
parent 59c122b82c
commit 52161e0aa1
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -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";
};