mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2025-05-24 01:17:15 +02:00
- if needed creation of a service user incl. creation of the ssh-key, - add the ssh key to authorized_keys, - auto init of the repos, - creation and start of systemd timer and services and - installation of the Docker helperscript.
13 lines
404 B
Django/Jinja
13 lines
404 B
Django/Jinja
# Managed by Ansible, please don't edit manually
|
|
|
|
[Unit]
|
|
Description=Start creating of Backups - see: https://www.freedesktop.org/software/systemd/man/systemd.time.html#
|
|
|
|
[Timer]
|
|
# Day-of-the-Week Year-Month-Day Hour:Minutes:Seconds
|
|
# Persistent -> resume backup after shutdown
|
|
OnCalendar= *-*-* {{ borgmatic_timer_hour }}:{{ borgmatic_timer_minute }}:00
|
|
Persistent=true
|
|
|
|
[Install]
|
|
WantedBy=timers.target |