This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: file mirroring
* Thorsten Kampe (Tue, 13 Jan 2009 19:44:22 +0100)
> * 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"
> > someuser@server1.example.com:/var/www/ /var/www/
>
> Keep it simple, stupid: try without the excludes; if this doesn't work,
> try with ssh.
/without/, of course
T.
--
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/