feat: backup postgresql databases locally

This commit is contained in:
Khaïs COLIN 2024-08-23 16:54:19 +00:00
parent 7555fd2a78
commit e0042116bf

View file

@ -1,3 +1,9 @@
{ {
services.postgresql.enable = true; services.postgresql.enable = true;
services.postgresqlBackup = {
enable = true;
backupAll = true;
location = "/var/backup/postgresql";
};
} }