Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2004 09:50:12 -0600
From:      Redmond Militante <r-militante@northwestern.edu>
To:        freebsd-questions@freebsd.org
Subject:   trouble with rsync script - large tar files
Message-ID:  <20041112155012.GA10964@darkpossum>

next in thread | raw e-mail | index | archive | help

--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--



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