Don't run borgmatic every hour if not needed
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
05f76c7586
commit
c6b768e1bb
1 changed files with 4 additions and 0 deletions
|
@ -4,7 +4,11 @@
|
|||
Description=Timer for borgmatic backup
|
||||
|
||||
[Timer]
|
||||
{% if borg_keep_hourly > 0 %}
|
||||
OnCalendar=hourly
|
||||
{% else %}
|
||||
OnCalendar=daily
|
||||
{% endif %}
|
||||
RandomizedDelaySec=60m
|
||||
FixedRandomDelay=true
|
||||
|
||||
|
|
Loading…
Reference in a new issue