diff options
author | Soispha <soispha@vhack.eu> | 2024-01-14 19:21:10 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-01-14 19:21:10 +0100 |
commit | 3581f97016d4aa28acd71da664bcb7322d76a79a (patch) | |
tree | 9bf198d6c7360b94358981d7fbbad3c6b974d339 | |
parent | fix(sys/services/restic): Include a db dump of PostgreSQL (diff) | |
download | nixos-server-3581f97016d4aa28acd71da664bcb7322d76a79a.tar.gz nixos-server-3581f97016d4aa28acd71da664bcb7322d76a79a.zip |
fix(sys/services/restic): Set the system start time to 'daily'
Considering that the db dump takes longer than an hour, an hourly service start time could lead to multiple dumps happening concurrently. This should reduce this risk
-rw-r--r-- | system/services/restic/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/services/restic/default.nix b/system/services/restic/default.nix index b5e24c2..3af92a5 100644 --- a/system/services/restic/default.nix +++ b/system/services/restic/default.nix @@ -41,7 +41,7 @@ repository = "rclone: "; # There is only one repository served timerConfig = { Requires = "network-online.target"; - OnCalendar = "hourly"; + OnCalendar = "daily"; Persistent = true; }; }; |