Don't run borgmatic every hour if not needed
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
jeltz 2021-05-10 13:02:45 +02:00
parent 05f76c7586
commit c6b768e1bb

View file

@ -4,7 +4,11 @@
Description=Timer for borgmatic backup Description=Timer for borgmatic backup
[Timer] [Timer]
{% if borg_keep_hourly > 0 %}
OnCalendar=hourly OnCalendar=hourly
{% else %}
OnCalendar=daily
{% endif %}
RandomizedDelaySec=60m RandomizedDelaySec=60m
FixedRandomDelay=true FixedRandomDelay=true