[Samba] Bidirectional Rsync/Unison based SysVol replication workaround
L.P.H. van Belle
belle at bazuin.nl
Mon Mar 20 15:53:34 UTC 2017
Hai,
Check your /root/.unison/default.prf file
This is what you should have and one of these is not correct
root = /var/lib/samba
root = ssh://root@DC2//var/lib/samba
path = sysvol
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Leonidch via
> samba
> Verzonden: maandag 20 maart 2017 16:38
> Aan: Samba List
> Onderwerp: [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 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
>
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
More information about the samba
mailing list