Thorsten Kampe wrote:
>
> * jedalaurin (Mon, 12 Jan 2009 23:48:51 -0800 (PST))
>> rsync: connection unexpectedly closed (0 bytes received so far)
> [receiver]
>> rsync error: error in rsync protocol data stream (code 12) at
>> /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632)
>> [receiver=3.0.4]
>>
>> after running
>>
>> rsync -avz --delete --exclude=**/stats --exclude=**/error
>> --exclude=**/files/pictures -e "ssh -i /root/rsync/mirror-rsync-key"
>> someu...@server1.example.com:/var/www/ /var/www/
>
> Keep it simple, stupid: try without the excludes; if this doesn't work,
> try with ssh.
>
>> our mirror server is using windows 2003 r3 on cygwin 2.573.2.3 and out
>> main
>> server is on Red Hat.
>>
>> Another question is there another way(s) to do the file synchronization
>> on
>> this setup?
>
> sitecopy
>
> Thorsten
>
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
>
>
I after few hours of tracing the file mirroring is already working.
I found out that the error occurs when rsync encounters a unpermitted
folders, files etc. that it can't be transferred. All the options are still
needed [rsync -avz --delete --exclude=**/stats --exclude=**/error
--exclude=**/files/pictures -e "ssh -v -i /root/rsync/mirror-rsync-key"
someu...@server1.example.com:/var/www/ /var/www/] and adding a -v on ssh.
that is why you have to assign a particular folder your files to be
mirrored.
Thank you guys and more power!
--
View this message in context:
http://www.nabble.com/file-mirroring-tp21430068p21449672.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/