Merge pull request 'Borgmatic improvements (very old changes I forgot to merge)' (#84) from borgmatic_hourly into master
continuous-integration/drone/push Build is passing Details

Reviewed-on: #84
This commit is contained in:
jeltz 2021-12-14 08:01:16 +01:00
commit 1ecffc2742
1 changed files with 5 additions and 0 deletions

View File

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