rsync error: some files could not be transferred (code 23) at main.c

2004-02-26 Thread Jonathan Hurley
I am using rsync to backup a machine with a large number of files, and I am getting this error. It would be helpful to know which files this is occuring with, to diagnose the problem. Is there a configuration option to rsync (that I may have missed) that will reveal this info. Alternatively,

setuid rsync

2004-02-26 Thread Daniel S. Cohen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I trying to create an automated backup from one machine to the other via SSH. I have setup ssh keys and so on, so everything is pretty much working. The only thing is, I am trying to perserve file ownership. I don't want to use ssh keys w/o

Re: remote files not being deleted

2004-02-26 Thread jw schultz
On Thu, Feb 26, 2004 at 08:05:30AM -0600, Trey Nolen wrote: It may be that you are running out of memory. --delete causes the a second file list (about 100bytes/file) to be created contianing all the files existing on the receiver. Combined with --delete-after this happens at the time

exclude everything and include directories

2004-02-26 Thread Don Shesnicky
Anyone? Even a yea or nea at this point would be appreciated. Don - I'm trying to update some laptops from a large server directory for an EDA app. Most of the time I just rsync the entire directory and exclude the odd item. In this case it's the reverse where I want to exclude everything

Re: remote files not being deleted

2004-02-26 Thread Trey Nolen
It may be that you are running out of memory. --delete causes the a second file list (about 100bytes/file) to be created contianing all the files existing on the receiver. Combined with --delete-after this happens at the time when the memory usage is at its greatest due to copy-on-write and

Re: remote files not being deleted

2004-02-26 Thread Trey Nolen
That lack of deletion is fixed in 2.6.0. You can work around the problem by either getting rid of the -R option (you don't need it in that particular command) or by specifying /. instead of / as the source of your copy. That did the trick! Thanks! Trey Nolen -- To unsubscribe or

Re: setuid rsync

2004-02-26 Thread Wayne Davison
On Thu, Feb 26, 2004 at 07:30:47PM -0600, Daniel S. Cohen wrote: Anyone have any ideas why the setuid rsync is not perserving ownership? Because rsync doesn't realize it is root, so it doesn't try to chown anything. Try the CVS version -- I changed it recently to use geteuid() and getegid()

Help needed with Failed to dup/close error

2004-02-26 Thread Ian McCulloch
Hi - i'm receiving the following error when attempting a local copy with rsync: Failed to dup/close : Socket operation on non-socket rsync error: error in IPC code (code 14) at /home/lapo/packaging/tmp/rsync-2.6.0/pipe.c(131) rsync: read error: Connection reset by peer rsync error: error in

Re: exclude everything and include directories

2004-02-26 Thread Wayne Davison
On Wed, Feb 25, 2004 at 06:51:33AM -0500, Don Shesnicky wrote: It seems that when you exclude everything you then need to include file by file. Can anyone point me in the right direction? As the docs mention, you have to include every parent directory for every file you want to include or the

CVS update: rsync/lib

2004-02-26 Thread Wayne Davison
Date: Fri Feb 27 07:22:37 2004 Author: wayned Update of /data/cvs/rsync/lib In directory dp.samba.org:/home/wayned/src/rsync/lib Modified Files: addrinfo.h Log Message: Improved the sockaddr_storage struct. Revisions: addrinfo.h 1.8 = 1.9

CVS update: rsync

2004-02-26 Thread Wayne Davison
Date: Fri Feb 27 07:22:39 2004 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/home/wayned/src/rsync Modified Files: configure.in Log Message: We now set HAVE_SOCKADDR_SA_LEN and HAVE_SOCKADDR_SIN_LEN based on sockaddr.sa_len and sockaddr.sin_len, respectively

CVS update: rsync

2004-02-26 Thread Wayne Davison
Date: Fri Feb 27 07:22:40 2004 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/home/wayned/src/rsync Modified Files: clientname.c socket.c Log Message: Use new HAVE_SOCKADDR_SIN_LEN define (replaces HAVE_SOCKADDR_LEN). Revisions: clientname.c1.15 =

CVS update: rsync/lib

2004-02-26 Thread Wayne Davison
Date: Fri Feb 27 07:22:41 2004 Author: wayned Update of /data/cvs/rsync/lib In directory dp.samba.org:/home/wayned/src/rsync/lib Modified Files: getaddrinfo.c getnameinfo.c Log Message: Use new HAVE_SOCKADDR_SA_LEN define (replaces HAVE_SOCKADDR_LEN). Revisions: getaddrinfo.c

CVS update: rsync/lib

2004-02-26 Thread Wayne Davison
Date: Fri Feb 27 07:33:36 2004 Author: wayned Update of /data/cvs/rsync/lib In directory dp.samba.org:/tmp/cvs-serv10487/lib Modified Files: getaddrinfo.c Log Message: Changed ERR() macro so that it acts like a single statement when the caller suffixes it with a semicolon.

CVS update: rsync

2004-02-26 Thread Wayne Davison
Date: Fri Feb 27 07:37:43 2004 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv11547 Modified Files: NEWS Log Message: Tru64 fix. Revisions: NEWS1.156 = 1.157 http://www.samba.org/cgi-bin/cvsweb/rsync/NEWS.diff?r1=1.156r2=1.157