ansible/roles/borgbackup_client/templates/borgmatic.timer.j2

17 lines
255 B
Text
Raw Normal View History

{{ ansible_managed | comment }}
[Unit]
Description=Timer for borgmatic backup
[Timer]
{% if borg_keep_hourly > 0 %}
2021-03-16 09:38:51 +01:00
OnCalendar=hourly
{% else %}
OnCalendar=daily
{% endif %}
RandomizedDelaySec=60m
FixedRandomDelay=true
[Install]
WantedBy=timers.target