summary refs log tree commit diff stats
path: root/system/services/restic
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-01-14 19:21:10 +0100
committerSoispha <soispha@vhack.eu>2024-01-14 19:21:10 +0100
commit3581f97016d4aa28acd71da664bcb7322d76a79a (patch)
tree9bf198d6c7360b94358981d7fbbad3c6b974d339 /system/services/restic
parentfix(sys/services/restic): Include a db dump of PostgreSQL (diff)
downloadnixos-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
Diffstat (limited to 'system/services/restic')
-rw-r--r--system/services/restic/default.nix2
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;
       };
     };