forked from Drift/pvv-nixos-config
bicep: add backup service
This commit is contained in:
parent
f77a5e946f
commit
0e75e0a5b9
@ -72,4 +72,10 @@
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 5432 ];
|
||||
networking.firewall.allowedUDPPorts = [ 5432 ];
|
||||
|
||||
services.postgresqlBackup = {
|
||||
enable = true;
|
||||
location = "/var/lib/postgres/backups";
|
||||
backupAll = true;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user