ansible-edda/playbooks/filesystem/yggdrasil/etc/systemd/system/syncoid-volume-data.service.j2

13 lines
340 B
Plaintext
Raw Normal View History

2022-10-14 21:32:51 +02:00
[Unit]
Description=Replicate volume data snapshots
2022-10-14 21:32:51 +02:00
Documentation=man:syncoid(8)
After=sanoid.service
Before=sanoid-prune.service
2022-10-14 21:32:51 +02:00
[Service]
Type=oneshot
ExecStart=/usr/sbin/syncoid --recursive --skip-parent --no-sync-snap rpool/var/lib/{{ ansible_hostname }}/data hpool/backup/{{ ansible_hostname }}/data
[Install]
WantedBy=sanoid.service