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
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
inherit (config.services.postgresql) enable; inherit (config.services.postgresql) enable;
backupAll = true; backupAll = true;
compression = "zstd"; compression = "zstd";
# compressionLevel = 9; # TODO: only available with 21.11 compressionLevel = 9;
pgdumpOptions = "--create --clean"; pgdumpOptions = "--create --clean";
startAt = "*-*-* 06:00:00"; startAt = "*-*-* 06:00:00";
}; };