speedup rsync by pre-build file index.

2001-01-05 Thread Min Xu
Hi there, Here we use rsync to distribute the system image daily from a server to 130+ clients. The whole system image is about 500-1000MB and changed infrequently. rsync is not efficient in this case, since whenever a client request to rsync with the server image, the server need to go through

Re: What version *works* on Solaris w/rsh?

2001-01-05 Thread Dave Dykstra
On Fri, Jan 05, 2001 at 08:53:38AM -0500, Hal Haygood wrote: > I'm working with a fairly large distribution system that was recently > switched from rdist to rsync. I am having some incredibly frustrating > problems with rsync dying. > > I have tried everything I can find any information about

Re: error exit 20

2001-01-05 Thread Dave Dykstra
On Thu, Jan 04, 2001 at 05:50:46PM -0500, Lena M wrote: > we are using rsync version 2.4.6 to perform backups to our backup > servers. All machines are running Solaris 2.6 and are located on the > same network. From time to time rsync fails, and we get an error exit > with a status 20. Does any

Re: Include-from does not work

2001-01-05 Thread Dave Dykstra
On Thu, Jan 04, 2001 at 11:04:12PM +0100, Otto Wyss wrote: > I want to mirror any i386 packages from a debian package mirror with the > following command > > rsync -avvP --include-from="file" > ftp.at.debian.org::debian-ftp/debian-non-US/pool/non-US/main >/mirror/debian/non-US/main > > while "f

Re: two passwords

2001-01-05 Thread Goswin Brederlow
> " " == Rick Otten <[EMAIL PROTECTED]> writes: > Hello rsync gurus, Quick question: > I am trying to rsync onto a machine which requires two > passwords (using ssh as the transport). First is a regular > password, the second is a SecurID PIN. > I suspect this

Re: two passwords (fwd)

2001-01-05 Thread Rick Otten
> > Yes, that feature would do the trick. > The way to test this is to write a little wrapper script which just reads > for any garbage, and install it as your shell on the remote machine. > > I don't have a pair of machines I can do this on at the moment or I'd > try it. > > Something like: >

Re: two passwords

2001-01-05 Thread Rick Otten
Yes, that feature would do the trick. The way to test this is to write a little wrapper script which just reads for any garbage, and install it as your shell on the remote machine. I don't have a pair of machines I can do this on at the moment or I'd try it. Something like: echo 'prompt :'

Re: two passwords

2001-01-05 Thread Dave Dykstra
On Fri, Jan 05, 2001 at 10:19:34AM -0500, Rick Otten wrote: > > Yes, the error message is coming because ssh is terminating early but I > > don't think that the advice that Jason goes on to give (using extra keys, > > expect, etc) is correct. There is no reason why rsync can't handle a > > double

Transfering File List

2001-01-05 Thread Lenny Foner
Date: Fri, 5 Jan 2001 08:27:43 -0600 From: Dave Dykstra <[EMAIL PROTECTED]> Mail-Followup-To: Dave Dykstra <[EMAIL PROTECTED]>, [EMAIL PROTECTED] On Thu, Jan 04, 2001 at 11:14:00PM +0100, Goswin Brederlow wrote: > > " " == Lenny Foner <[EMAIL PROTECTED]> writes: >

Re: two passwords

2001-01-05 Thread Rick Otten
Well I installed the ssh keys to try it out. I'm still not getting that second password prompt. :-( (I don't get the first one now either, of course.) I just get the read error. I think the shell is executing on the remote side after we complete authentication. The shell then does its own pass

Re: two passwords

2001-01-05 Thread Jason Hammerschmidt
Dave is right, when we use rsync it's with the -e flag and users are simply promted for password(s). For example we use: rsync -vvrtz --delete -e "ssh -l username" --stats \ --include "*/" --include "*.xml" --include "*.xsl" --exclude "*" \ --rsync-path=/datastore/rsync/bin/rsync \ slowlaris:

Re: two passwords

2001-01-05 Thread Rick Otten
> > On Fri, Jan 05, 2001 at 09:49:33AM -0500, Rick Otten wrote: > > > Rick Otten wrote: > > > > > > > Hello rsync gurus, > > > > > > > > Quick question: > > > > > > > > I am trying to rsync onto a machine which requires two passwords (using > > > > ssh as the transport). > > > > First is a

Re: two passwords

2001-01-05 Thread Dave Dykstra
On Fri, Jan 05, 2001 at 09:49:33AM -0500, Rick Otten wrote: > > Rick Otten wrote: > > > > > Hello rsync gurus, > > > > > > Quick question: > > > > > > I am trying to rsync onto a machine which requires two passwords (using > > > ssh as the transport). > > > First is a regular password, the

Re: two passwords

2001-01-05 Thread Rick Otten
> > You got it, you are getting the unexpected EOF in read_timeout cause ssh is > terminating early. You can copy keys of regular users however, run the key > generation that came with your ssh package as the user, have that user copy > the file to a floppy, give the floppy to you, and you copy

Re: Transfering File List

2001-01-05 Thread Dave Dykstra
On Thu, Jan 04, 2001 at 11:05:17PM +0100, Goswin Brederlow wrote: > > On Thu, Jan 04, 2001 at 05:56:37PM +0100, Goswin Brederlow > > wrote: > >> > " " == Dave Dykstra <[EMAIL PROTECTED]> writes: > >> > >> Strange, I have % rsync --version rsync version 2.4.6 protocol >

Re: Transfering File List

2001-01-05 Thread Dave Dykstra
On Thu, Jan 04, 2001 at 11:14:00PM +0100, Goswin Brederlow wrote: > > " " == Lenny Foner <[EMAIL PROTECTED]> writes: > > > Date: Thu, 4 Jan 2001 10:22:38 -0600 From: Dave Dykstra > > <[EMAIL PROTECTED]> > > > I like that idea. I would call it "--only-from". > >

two passwords

2001-01-05 Thread Rick Otten
Hello rsync gurus, Quick question: I am trying to rsync onto a machine which requires two passwords (using ssh as the transport). First is a regular password, the second is a SecurID PIN. I suspect this is why my rsync isn't working. Is this a good suspicion? Error message: "unexpe

What version *works* on Solaris w/rsh?

2001-01-05 Thread Hal Haygood
I'm working with a fairly large distribution system that was recently switched from rdist to rsync. I am having some incredibly frustrating problems with rsync dying. I have tried everything I can find any information about, but it continues to happen, sometimes in new and spectacular ways.