Ps. This is what im using.
# sync during office hours.
*/5 7-18 * * 1,2,3,4,5 root /usr/bin/rsync -XAavz --log-file /var/log/sysvol-sync.log --delete-after -f"+ */" -f"- *" /var/lib/samba/sysvol ro...@192.168.249.212:/var/lib/samba && /usr/bin/unison &> /dev/null
If you checked the unison file, test as followed.
/usr/bin/rsync -XAavz --log-file /var/log/sysvol-sync.log \
--delete-after -f"+ */" -f"- *" /var/lib/samba/sysvol \
root@DC2:/var/lib/samba
and then run
/usr/bin/unison
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:
samba-...@lists.samba.org] Namens L.P.H. van Belle
> via samba
> Verzonden: maandag 20 maart 2017 16:54
> Aan:
sa...@lists.samba.org
> Onderwerp: Re: [Samba] Bidirectional Rsync/Unison based SysVol replication