Re: filelist calculation algoritm

2003-01-08 Thread Lorenzo Bettini
jw schultz wrote: On Tue, Jan 07, 2003 at 07:15:27PM +0100, Lorenzo Bettini wrote: Aaron Morris wrote: You did not specifically mention it: compression (-z) would probably help more than anything. Otherwise, you could do something like: Have a file (ie filelist.txt) that contains the filen

Re: filelist calculation algoritm

2003-01-08 Thread jw schultz
On Wed, Jan 08, 2003 at 09:42:39AM +0100, Lorenzo Bettini wrote: > jw schultz wrote: > >On Tue, Jan 07, 2003 at 07:15:27PM +0100, Lorenzo Bettini wrote: > > > >>Aaron Morris wrote: > >> > >>>You did not specifically mention it: compression (-z) would probably > >>>help more than anything. Otherw

rsync over ssh: failed to connect to... after SuSE update

2003-01-08 Thread Klaus Haberkorn
I have been running rsync over ssh to a remote server without problems for months. After an update from SuSE 7.2 to 8.1, I always get the following error: "rsync: failed to connect to localhost: Connection refused rsync error: error in socket IO (code 10) at clientserver.c(97)" Details: the rsync s

Re: IPv6 hosts allow|deny

2003-01-08 Thread Dave Dykstra
On Wed, Jan 08, 2003 at 12:25:15AM +0100, Bert Vermeulen wrote: > On Tue, 7 Jan 2003, Dave Dykstra wrote: > > > Even though rsync maintenance isn't as bad as wget's, the maintainers > > are all VERY part time so that is a big part of the problem. Most of us > > don't have ipv6 systems to test thi

Re: Not preserving permissions really preserves some

2003-01-08 Thread Dave Dykstra
On Wed, Jan 08, 2003 at 03:08:38PM +1100, [EMAIL PROTECTED] wrote: > > > Thanks for the reply. > > I did see this on the to-do list, and thought that it might > be a preferable solution (just a bit more work). > It would be messy to do the xargs stuff as I am running rsync > over ssh with restri

Re: directories that change into symlinks

2003-01-08 Thread David Garamond
Dave Dykstra wrote: Could you please post your full command line and say where in the directory structure the directories were replaced by symlinks? I have not yet been able to come up with an example where --force makes a difference when using --delete and -r (or -a). Refer to http://lists.

Re: directories that change into symlinks

2003-01-08 Thread Dave Dykstra
Yes, I knew --force made a difference when not using --delete (that's very much like the example in the message I referred to), and I think it's good that way and --force should not be the default without --delete. I thought you were using --delete. If --force makes a difference in any case that -

long directory name problem

2003-01-08 Thread elijah reyen
Does rsync has directory name length limit? I was trying to rsync a directory that has the name length of 34 characters and getting permission denied error. $ rsync -avz --delete --force -e ssh /usr/local/apache/htdocs 192.168.0.2:/usr/local/apache building file list ... readlink htdocs/Corpor

Rsync and windows

2003-01-08 Thread Oliver Krehan
Hi there, I have a problem syncronizing a windows machine with a linux box. I want to backup the "My Documents" folder. Therefore I burned the data on a cdrom because the windows pc is only connected over a slow wan connection to the linux box. When I copy the data to the users home directory (usi

Re: Rsync and windows

2003-01-08 Thread jw schultz
On Wed, Jan 08, 2003 at 05:16:21PM +0100, Oliver Krehan wrote: > Hi there, > > I have a problem syncronizing a windows machine with a linux box. > I want to backup the "My Documents" folder. Therefore I burned the data > on a cdrom because the windows pc is only connected over a slow wan > connect

Re: long directory name problem

2003-01-08 Thread Dave Dykstra
I've never heard of a name length limit. One operating system(s) and rsync version(s) are you using? - Dave On Wed, Jan 08, 2003 at 07:32:19AM -0800, elijah reyen wrote: > Does rsync has directory name length limit? I was trying to rsync a directory that >has the name length of 34 characters a

Re: long directory name problem

2003-01-08 Thread bart . coninckx
We experience that as well. We use (sadly) Rsycn in Win32 environment. I hear it's due to the Cygwin utilities. Rgds, Bart Coninckx Network Administrator CNE, ASE * Sita ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0)

Re: long directory name problem

2003-01-08 Thread jw schultz
On Wed, Jan 08, 2003 at 02:17:16PM -0600, Dave Dykstra wrote: > I've never heard of a name length limit. One operating system(s) and rsync > version(s) are you using? > > - Dave > > On Wed, Jan 08, 2003 at 07:32:19AM -0800, elijah reyen wrote: > > Does rsync has directory name length limit? I w

Re: filelist calculation algoritm

2003-01-08 Thread Aaron W Morris
I do not think there would be a problem using ssh as the shell. The cat trick or using - is basically the same thing as specifying the file names manually. On Wed, 2003-01-08 at 03:42, Lorenzo Bettini wrote: > jw schultz wrote: > > On Tue, Jan 07, 2003 at 07:15:27PM +0100, Lorenzo Bettini wrote:

Proper --exclude= syntax?

2003-01-08 Thread Dan Kressin
I'm currently syncing the home directories on two boxes with the syntax: dest-host# rsync -av -e "ssh" --delete --progress source-host:/home/ /home/ That's working well. Now I want to exclude /home/httpd/* from the process. (I don't want web changes on one box to affect the other box.) Which o

Re: Proper --exclude= syntax?

2003-01-08 Thread jw schultz
On Wed, Jan 08, 2003 at 02:15:13PM -0800, Dan Kressin wrote: > I'm currently syncing the home directories on two boxes with the syntax: > > dest-host# rsync -av -e "ssh" --delete --progress source-host:/home/ /home/ > > That's working well. Now I want to exclude /home/httpd/* from the process.

Re: long directory name problem

2003-01-08 Thread Lapo Luchini
[EMAIL PROTECTED] wrote: We experience that as well. We use (sadly) Rsycn in Win32 environment. I hear it's due to the Cygwin utilities. What file sysetm, cygwni version and rsync version are you talking about? $ echo "try" >ridicolouslyLongFileNameThatNoOnWillEverUseAsItIsReallyInsaneToDoBut

Re: Proper --exclude= syntax?

2003-01-08 Thread Max Bowsher
- Original Message - From: "Dan Kressin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 08, 2003 10:15 PM Subject: Proper --exclude= syntax? > I'm currently syncing the home directories on two boxes with the syntax: > > dest-host# rsync -av -e "ssh" --delete --progr

[PATCH] Add .svn to the exclude list for --cvs-exclude

2003-01-08 Thread Jon Middleton
Hi, The attached patch adds the Subversion adm directory (.svn) to the list of excludes for the --cvs-exclude option and also updates the man page. (please CC me on replies as I'm not on this list) -- Jon "First things first -- but not necessarily in that order" -- The Doctor,

Re: [PATCH] Add .svn to the exclude list for --cvs-exclude

2003-01-08 Thread jw schultz
On Wed, Jan 08, 2003 at 11:24:03PM +, Jon Middleton wrote: > Hi, > > The attached patch adds the Subversion adm directory (.svn) to the > list of excludes for the --cvs-exclude option and also updates the man > page. > > (please CC me on replies as I'm not on this list) > Looks mostly good

Re: [PATCH] Add .svn to the exclude list for --cvs-exclude

2003-01-08 Thread Jon Middleton
On Wed, Jan 08, 2003 at 04:00:23PM -0800, jw schultz wrote: > On Wed, Jan 08, 2003 at 11:24:03PM +, Jon Middleton wrote: > > > > The attached patch adds the Subversion adm directory (.svn) to the > > list of excludes for the --cvs-exclude option and also updates the man > > page. > I wonder i

Help With Restoring

2003-01-08 Thread mhanze
Hi All,        I have been using rsync to backup to a central server with a 7 day incremental script on 2 Redhat boxen. #!/bin/sh PATH=/usr/local/bin:/usr/bin:/bin DAY=`date +%A` export PATH DAY [ -d /root/emptydir ] || mkdir /root/emptydir rsync --rsh=/usr/bin/ssh --delete -a /root/em

Re: long directory name problem

2003-01-08 Thread elijah reyen
All, Here is the complete picture of what I am doing: OS: RedHat Linux 7.2 Kernel 2.4.19 Here is the script that I am running with: #!/usr/bin/expect spawn su - rsyncusr expect { "ter]\$ " {send "rsync -avz --delete --force -e ssh /usr/local/apache/htdocs 192.168.0.2:/usr/local/apache;

Re: Help With Restoring

2003-01-08 Thread Mike Rubel
> rsync --delete --stats --compress --recursive --times --perms --links > --rsh=/usr/bin/ssh --exclude "tmp/" --exclude "dev/" --exclude "proc/" > --exclude "backups/ " --delete-excluded --backup > --backup-dir=/backup2/BACKED_UP_SERVER_FQDN/$DAY -a /* > CENTRAL_SERVER_IP:/backup2/BACKED_UP_SE

Re: [PATCH] Add .svn to the exclude list for --cvs-exclude

2003-01-08 Thread Wayne Davison
On Wed, Jan 08, 2003 at 04:42:58PM -0800, jw schultz wrote: > - "RCS","SCCS","CVS","CVS.adm","RCSLOG","cvslog.*", > + "RCS/", "SCCS/", "CVS/", "CVS.adm", "RCSLOG", "cvslog.*", > Might be worth doing to tighten the patterns. Yes, I'd agree with that. I looked at the code to confirm that the trai

Re: Help With Restoring

2003-01-08 Thread mhanze
> > rsync --delete --stats --compress --recursive --times --perms --links > > --rsh=/usr/bin/ssh --exclude "tmp/" --exclude "dev/" --exclude "proc/" > > --exclude "backups/ " --delete-excluded --backup > > --backup-dir=/backup2/BACKED_UP_SERVER_FQDN/$DAY -a /* > > CENTRAL_SERVER_IP:/backup2/BA

Replaced file?

2003-01-08 Thread Max Kipness II
Title: Message Hello -   I'm wondering if there is a way around this particular issue?   I backup a database into a dump file. I backup this file using rsync. I then make a few minor changes in the database and then create another dump file. I then backup with rsync. Instead of merely backi

Re: Help With Restoring

2003-01-08 Thread jw schultz
Using rsync on to restore / might be OK because it creates copies and then renames but in general it is a bad idea to try to restore / in-place. Better to boot from other media, mount root &c on another tree and then restore there. On Wed, Jan 08, 2003 at 11:20:09PM -0500, [EMAIL PROTECTED] wrote

--exclude and --delete-exclude problem

2003-01-08 Thread Carlos Molina
Hi. I'm trying to accomplish the following ; 1) First, I did a rsync for a file, like this /usr/bin/rsync -lptgoD --delete --rsh=/usr/bin/ssh -R --delete-excluded -vv [EMAIL PROTECTED]:/usr/local/src/* /tmp/localhost/daily.0 If I did a ls -la to the destination dir (/tmp/localhost/daily.0/usr/

Re: [PATCH] Add .svn to the exclude list for --cvs-exclude

2003-01-08 Thread jw schultz
On Thu, Jan 09, 2003 at 12:25:29AM +, Jon Middleton wrote: > On Wed, Jan 08, 2003 at 04:00:23PM -0800, jw schultz wrote: > > On Wed, Jan 08, 2003 at 11:24:03PM +, Jon Middleton wrote: > > > > > > The attached patch adds the Subversion adm directory (.svn) to the > > > list of excludes for