Enhancement suggestion: improve the host not found error message

2002-05-03 Thread Chris Pepper
When I feed a bogus hostname to rsync, it reports "Undefined error". It would be useful if instead it would say something more informative, like "Host not found". Thanks for rsync! Chris P

Re: timeout error in rsync-2.5.5

2002-05-03 Thread Donovan Baarda
On Fri, May 03, 2002 at 04:41:17PM -0500, Dave Dykstra wrote: > You shouldn't need to have such a long timeout. The timeout is not over > the whole length of the run, only the time since the last data was > transferred. It's a mystery to me why it quits after 66 minutes rather > than 5 hours, bu

Updating the docs/help on the default remote shell

2002-05-03 Thread Wayne Davison
Since rsync can now be configured with a different default remote shell than "rsh", I think the docs should be updated a bit. Anyone object to these changes? (Note that I also fixed the misstatement that ssh prefers blocking IO.) ..wayne.. ---8<--8<--8<--8<---cut here--->8-->8-

Re: rsync as a backup solution

2002-05-03 Thread Mike Rubel
Eric, I'm going to use this opportunity to shamelessly plug my website: http://www.mikerubel.org/computers/rsync_snapshots/ By keeping multiple rotating backup "snapshots", you can protect yourself should one or more of them get hosed, and you still won't need a huge amount of extra storage.

rsync as a backup solution

2002-05-03 Thread Eric Echter
I would like to get some opinions on a backup method using rsync. I already have a script written to mirror the data over to a backup script from a cron that is run every night. I've also been tempted to use the "--delete" option to keep everything up to date on the backup server. However, this

rsync.samba.org

2002-05-03 Thread pyxl
Howdy everybody, Dunno if anyone's got a log monitor or mailing script set up for 404 errors on rsync.samba.org, but http://rsync.samba.org/rsync/fom-serve/cache/1.html emits a 404. It's where the the FAQ-O-Matic nav link that's found throughout the site eventually sends the browser. Sorry ab

Re: exclude-from problem

2002-05-03 Thread Dave Dykstra
On Wed, Apr 17, 2002 at 06:13:41PM +0200, [EMAIL PROTECTED] wrote: > Hi, I'm trying to exclude a directory (mag/html/)but not *.xsl files that > are within this directory and its sub-directories. > Here is my exclude file : > + mag/html/*.xsl > mag/html/ > > The *.xsl files are never transferred.

Re: timeout error in rsync-2.5.5

2002-05-03 Thread Dave Dykstra
You shouldn't need to have such a long timeout. The timeout is not over the whole length of the run, only the time since the last data was transferred. It's a mystery to me why it quits after 66 minutes rather than 5 hours, but the real question is why it stops transferring data for so long. Pe

Re: how to take least risk on rsync dir

2002-05-03 Thread Dave Dykstra
On Tue, Apr 16, 2002 at 05:15:45PM +0800, Patrick Hsieh wrote: > Hello list, > > When rsync dir_A to dir_B, I hope I wont make any change to the original > dir_B unless the rsync procedure end withour errors, therefore, I hope > there's somethig like > > rsync -av dir_A dir_B_tmp && \ > mv dir_B

Re: Exclude & --delete not working?

2002-05-03 Thread Dave Dykstra
That is the way it is intended to work; the exclude list is not sent from server to client. Back when I was official maintainer of rsync somebody almost had me convinced to change it, but I decided that it was good the way it was because to the client it appears like those files don't even exist

Re: Help Trying to backup a single directory

2002-05-03 Thread Dave Dykstra
On Fri, Apr 12, 2002 at 01:33:01PM -0700, Ian Kettleborough wrote: > I have been trying to just copy one directory from one hard disk to another > > >From /usr > To /e (mounted second drive) > > I am trying to copy just directory file /usr/src/sys/i386/conf/ > > The usr is part of the executio

Re: --delete doesn't work

2002-05-03 Thread Dave Dykstra
In order for rsync to be able to delete a file, it nees to example a whole directory and you're just giving it a list of files as the source, *.dat. Does this work for you? /usr/local/bin/rsync -rztvp --include "*.dat" --exclude "*" --delete \ rsync://1.1.1.1/file/ /export/home/test/

RE: Newbie question on Rsync on Solaris

2002-05-03 Thread Crisler, Jon
Thanks, that fixed the problem !!! -Original Message-From: Sholom Fried (Senior Sys Admin) [mailto:[EMAIL PROTECTED]]Sent: Friday, May 03, 2002 12:55 PMTo: Crisler, Jon; '[EMAIL PROTECTED]'Subject: Re: Newbie question on Rsync on Solaris rsync -rvutogp -n --delete --stats -

Re: Newbie question on Rsync on Solaris

2002-05-03 Thread Sholom Fried (Senior Sys Admin)
rsync -rvutogp -n --delete --stats --progress \ --exclude-from=/utils/exc_rsync_applcsf.txt \ --rsync-path=/usr/local/bin \ /data/u01/app/applmgr/product/1102/prd \ remoteuser@remotehost:/data/u01/app/applmgr/product/1102/prd this will copy the prd directory on the src into the prd directory

Newbie question on Rsync on Solaris

2002-05-03 Thread Crisler, Jon
Title: Newbie question on Rsync on Solaris I want to replicate between two Solaris hosts.  The source is Solaris 2.6 and the target is Solaris 2.8.  Using rsh, the basic program seems fine (not running in daemon mode), but I have a problem.  The directory tree is about 150,000 files, with abo

Re: Rsync & Win2K?

2002-05-03 Thread Lapo Luchini
Brad ha scritto: >Is there a version of Rsync that works with Win2K? I wish to synchronise a >RedHat 7.2 directory and a Win2K directory. > >Regards, >Brad > You can find one in Cygwin, you can install it from http://cygwin.com/ "Install now". Remember to select package rsync and, if you need it