defiant: Enable postgresql backups

This commit is contained in:
2024-03-07 23:45:25 +01:00
parent 556bd25ce3
commit 3ef7bf6496
5 changed files with 12 additions and 2 deletions

View File

@@ -6,10 +6,12 @@
};
services.postgresqlBackup = {
# enable = true;
enable = true;
location = "/data/backup/postgresql/";
startAt = "*-*-* 03:15:00";
backupAll = true;
# Each service is registered in its own configuration file
databases = [ ];
};
environment.systemPackages = [ config.services.postgresql.package ];