Web lists-archives.com

[Samba] Bidirectional Rsync/Unison based SysVol replication workaround




Hi

I use /usr/bin/rsync -XAavz --log-file /var/log/sysvol-sync.log
--delete-after -f"+ */" -f"- *"  /var/lib/samba/sysvol
root@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@DC2:/var/lib/samba  &&  /usr/bin/unison  &>
/dev/null




-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba