fix(restic): catch up backups missed while a host was off

Assisted-by: DeepSeek Harness 0.2.1-rc.2 (claude-opus-5-5)
This commit is contained in:
Ryan Yin authored and ryan4yin | 二花 committed 2026-10-21 20:59:07 +08:00
1 parent 92f59df25a
commit a3c75250c4
1 file changed
+3
+3
View File
@@ -173,9 +173,12 @@ in
]
++ cfg.exclude;
# Setting timerConfig replaces the module default, so keep its
# `Persistent`: a host that is off at the slot backs up once it is back.
timerConfig = {
OnCalendar = cfg.onCalendar;
RandomizedDelaySec = cfg.randomizedDelaySec;
Persistent = true;
};
inherit (cfg) pruneOpts;