Backup postgres too

This commit is contained in:
Nathan McCarty 2022-09-26 23:40:13 -04:00
parent 9fe684627f
commit ab9f83015e
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 8 additions and 0 deletions

View File

@ -119,6 +119,14 @@
extraConfigFiles = [ config.sops.secrets."matrix-secrets.yaml".path ]; extraConfigFiles = [ config.sops.secrets."matrix-secrets.yaml".path ];
}; };
# Backup postgres
services.postgresqlBackup = {
enable = true;
compression = "none";
backupAll = true;
startAt = "OnCalendar=00/2:00";
};
# Configure the vhost for the domain # Configure the vhost for the domain
services.nginx.virtualHosts = services.nginx.virtualHosts =
let let