Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2007 13:25:59 -0800
From:      Jay Chandler <chandler@chapman.edu>
To:        Peter Pluta <peter@placidpublishing.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: rsync issues
Message-ID:  <45B52BE7.2030803@chapman.edu>
In-Reply-To: <45B5295D.3020205@placidpublishing.net>
References:  <45B4032C.3070404@placidpublishing.net> <45B5295D.3020205@placidpublishing.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Pluta wrote:
> Anyone?
>
> Peter Pluta wrote:
>> I have a win2k3 server running as my rsync server. I also have a 
>> freebsd web server being the rsync client. A shell script runs every 
>> night at 5am (it's below).
>>
>> Shell script:
>>
>> #!/bin/sh
>> . `dirname $0`/settings.inc
>> destination=**.***.***.***::backup
>> if [ "$TERM" ]; then verbose=-v; fi
>> rsync $verbose -azR --delete-after /usr/local/etc/       $destination
>> rsync $verbose -azR --delete-after /usr/local/lib/sasl2/ $destination
>> rsync $verbose -azR --delete-after /var/cron/            $destination
>> rsync $verbose -azR --delete-after /root/                $destination
>> rsync $verbose -azR --delete-after /etc/                 $destination
>> rsync $verbose -azR --delete-after --exclude httpd-*.log $wwwDir/ 
>> $destination
>>
>> After it runs for 5 minutes it throws this:
>> rsync: writefd_unbuffered failed to write 16385 bytes [sender]: 
>> Broken pipe (32)
>> rsync: read error: Connection reset by peer (54)
>> rsync error: error in rsync protocol data stream (code 12) at 
>> io.c(613) [sender=2.6.9]
>>
>> Dmesg on the box only shows this:
>> em0: promiscuous mode enabled
>> em0: promiscuous mode disabled
>>
>> But that is probably pretty old.
>>
>> What can the problem be? backups are really important to me and they 
>> don't currently work as the transfer times out after the first few 
>> files.
>>
>> Anyone got an idea? Any feedback or suggestions would be greatly 
>> appreciated.
>>
>> Thanks,
>> Peter
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to 
>> "freebsd-questions-unsubscribe@freebsd.org"

Looks like the 2k3 box is resetting the connection for whatever reason. 

-- 
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / chandler@chapman.edu
Today's Excuse: excess surge protection 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45B52BE7.2030803>