X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.de>
Subject:  Re: file mirroring
Date:  Tue, 13 Jan 2009 19:44:22 +0100
Lines: 25
Message-ID: <gkinf4$4f7$1@ger.gmane.org>
References:  <21430068.post@talk.nabble.com> <496C4011.6020003@cygwin.com> <21430861.post@talk.nabble.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset="us-ascii"
Content-Transfer-Encoding:  7bit
User-Agent: MicroPlanet-Gravity/2.71.6
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

* 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.
 
> 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/

