12 lines
313 B
Django/Jinja
12 lines
313 B
Django/Jinja
[Unit]
|
|
Description=Replicate service data snapshots
|
|
Documentation=man:syncoid(8)
|
|
After=sanoid.service
|
|
|
|
[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
|