[Samba] Bidirectional Rsync/Unison based SysVol replication workaround
cosme at crearq.co.cu
cosme at crearq.co.cu
Mon Mar 20 15:37:43 UTC 2017
Hi
I use /usr/bin/rsync -XAavz --log-file /var/log/sysvol-sync.log
--delete-after -f"+ */" -f"- *" /var/lib/samba/sysvol
root at DC2:/var/lib/samba && /usr/bin/unison &> /dev/null
and works ok
but not working with crontab
*/5 * * * * root /usr/bin/rsync -XAavz --log-file
/var/log/sysvol-sync.log --delete-after -f"+ */" -f"- *"
/var/lib/samba/sysvol root at DC2:/var/lib/samba && /usr/bin/unison &>
/dev/null
More information about the samba
mailing list