Add postgresql backup
This commit is contained in:
parent
77496ef36f
commit
1faa336925
1 changed files with 4 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue