From owner-freebsd-questions@FreeBSD.ORG Fri Nov 12 15:46:28 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C932D16A4CE for ; Fri, 12 Nov 2004 15:46:28 +0000 (GMT) Received: from merle.it.northwestern.edu (merle.it.northwestern.edu [129.105.16.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7384943D41 for ; Fri, 12 Nov 2004 15:46:28 +0000 (GMT) (envelope-from r-militante@northwestern.edu) Received: (from mailnull@localhost) by merle.it.northwestern.edu (8.12.10/8.12.10) id iACFkRw0029305 for ; Fri, 12 Nov 2004 09:46:27 -0600 (CST) Received: from merle.it.northwestern.edu (darkpossum.medill.northwestern.edu [129.105.246.24]) by merle.it.northwestern.edu via smap (V2.0) id xma029014; Fri, 12 Nov 04 09:46:17 -0600 Date: Fri, 12 Nov 2004 09:50:12 -0600 From: Redmond Militante To: freebsd-questions@freebsd.org Message-ID: <20041112155012.GA10964@darkpossum> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Sender: redmond@darkpossum.medill.northwestern.edu X-URL: http://darkpossum.medill.northwestern.edu/gnupg.php X-PGP-Fingerprint: 2AA2 E78E A6FC 9144 3534 39A2 EE0F 8D26 5FDF 481D Subject: trouble with rsync script - large tar files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Redmond Militante List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 15:46:28 -0000 --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable hi i have a 'push' type rsync script, which pushes out tar backup files to a b= ackup repository machine that looks like /usr/local/bin/rsync -e ssh -avz --delete --stats /usr/home/user/backupserv= er*tar.gz server2:/mnt/drive2/serverdailybackup/ this script rsyncs over ssh, over a short distance w t1 connections at both= ends and works fine. i have a 'pull' type rsync script which pulls tar backups from the backup r= epository machine that looks like /usr/local/bin/rsync -e ssh -avz --delete --stats server2:/mnt/drive2/serve= rdailybackup/backupserverusrlocal.tar.gz /mnt/drive2/serverbackup/ this script rsyncs over ssh, over a long distance - the two machines are no= t in the same building, geographically like 10 miles apart. this script is = pulling some large tar files, some 1-2 gig in size. it has yet to finish pu= lling tar files off the repository. it usually cuts off before it completes= - i get: 'read from remote host host.ip.address.com: connection reset by peer rsync:= connection unexpectedly closed...' any advice on how to modify either the ssh setup on either host, or the scr= ipt itself, so that rsync through the secondd script would be stable enough= to allow the rsync operation to finish completely? in the second script, we're doing a 'pull' rsync operation from host a (on = cable modem), to host b (t1). in the first script, we're doing a 'push' rsy= nc operation from host c (t1) to host b (t1). thanks for any advice. --=20 Redmond Militante Software Engineer / Medill School of Journalism FreeBSD 5.2.1-RELEASE-p10 #0: Wed Sep 29 17:17:49 CDT 2004 i386 9:45AM up 21:57, 1 user, load averages: 0.01, 0.18, 0.24 --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBlNu07g+NJl/fSB0RAqLkAKCmTeo7BrcqV4k/62wwz8yJnFY3RQCdEzdl iPhk92GMxY/f4FBxQR7h5QE= =wxGe -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb--