added a backup mechanism
This commit is contained in:
parent
182f54b988
commit
3c6a902515
1 changed files with 8 additions and 0 deletions
|
|
@ -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 = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue