Add postgresql backup

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-15 21:58:11 +01:00
parent 77496ef36f
commit 1faa336925
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5

View file

@ -4,6 +4,10 @@
enableTCPIP = true;
authentication = "host all all fd0d:a262:1fa6:e621::/64 md5";
};
services.postgresqlBackup = {
enable = true;
compression = "none"; # the file system and restic both do compression
};
services.prometheus.exporters.postgres = {
enable = true;
user = "postgres";