added a backup mechanism

This commit is contained in:
Jermeiah S 2025-06-14 23:20:15 -04:00
parent 182f54b988
commit 3c6a902515
No known key found for this signature in database

View file

@ -70,7 +70,15 @@ in
} }
]; ];
}; };
# With a database comes a dumping.
services.postgresqlBackup = {
enable = true;
compression = "zstd";
compressionLevel = 11;
# Start at every 3 days starting from the first day of the month.
startAt = "*-*-1/3";
};
systemd.services.otf = { systemd.services.otf = {
description = "Open Terraform Framework"; description = "Open Terraform Framework";
after = [ after = [