backup: compress postgres dumps
This commit is contained in:
parent
59c122b82c
commit
52161e0aa1
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue