diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-05-02 16:45:47 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-05-02 16:45:47 +0200 |
commit | fd1363eedadb183c439a00e143fd05ba8e10ad31 (patch) | |
tree | 8761cca63cdedcd5d0772bea48ac69262ca71f16 /roles/storage/zfs/syncoid/templates/systemd.timer.j2 | |
parent | adapt backup sanoid template for ch-epimetheus only (diff) |
add timer for syncoid backups
Diffstat (limited to 'roles/storage/zfs/syncoid/templates/systemd.timer.j2')
-rw-r--r-- | roles/storage/zfs/syncoid/templates/systemd.timer.j2 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/storage/zfs/syncoid/templates/systemd.timer.j2 b/roles/storage/zfs/syncoid/templates/systemd.timer.j2 new file mode 100644 index 00000000..260a8938 --- /dev/null +++ b/roles/storage/zfs/syncoid/templates/systemd.timer.j2 @@ -0,0 +1,8 @@ +[Unit] +Description=syncoid-based backup for {{ item.key }} + +[Timer] +OnCalendar={{ item.value.periodic.schedule }} + +[Install] +WantedBy=timers.target |