Re: Upload only

2004-01-19 Thread a a
Thanks for the suggestion Wayne - it's not one I was aware of and works. We can't use it though - every 20th backup, the program which runs rsync on the user client does --delete to remove dead files from the server. With exclude = * this doesn't work. Any other ideas?

File that vanishes between readdir and stat is not IO error

2004-01-19 Thread John Van Essen
Using rsync 2.6.0 with --verbose and doing a pull.  receiving file list ... readlink {FILENAME} failed:  No such file or directory  done  IO error encountered - skipping file deletion The file was a temporary file that was being deleted just as the rsync was run. So while the file list was

Re: How to mask @ symbol in username?

2004-01-19 Thread Peter
On Sun, 18 Jan 2004 13:17:01 -0800, you wrote: rsync -e 'ssh -l [EMAIL PROTECTED]' server.com:/home /backup thank you very much, that worked! Peter -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read:

daemon mode - local to server sync failing

2004-01-19 Thread Jason delaFuente
I have an rsync server running on nodeA and a client, nodeB. I am attempting to do a sync/copy from the local machine, nodeB, to the rsync server, nodeA. The following line from the rsync man page makes it look like this is relatively simple: for copying from the local machine to a remote

Improving name-truncation detection

2004-01-19 Thread Wayne Davison
I've got a patch that changes f_name_to() to return an unsigned int (like snprintf() and strlcpy() do) and adds checking to ensure that we didn't overflow the name before we try to use it: http://www.blorf.net/name-overflow.patch If anyone would care to check out the following patch before I

Re: daemon mode - local to server sync failing

2004-01-19 Thread Jason delaFuente
I found my problem. The default for all modules is to be READ ONLY. adding the following to the module corrected the issue: read only = false Thanks! Jason de la Fuente Jason delaFuente [EMAIL PROTECTED] 01/19/04 11:43AM I have an rsync server running on nodeA and a client, nodeB. I am

Re: Improving name-truncation detection

2004-01-19 Thread jw schultz
On Mon, Jan 19, 2004 at 10:17:30AM -0800, Wayne Davison wrote: I've got a patch that changes f_name_to() to return an unsigned int (like sme_tonprintf() and strlcpy() do) and adds checking to ensure that we didn't overflow the name before we try to use it:

Rsync and Tar

2004-01-19 Thread Steve Sills
Hello, I am trying to setup a backup system. What I would like to do is have rsync create a tar file as it downloads (to save space) and just have it update that tar file. Can rsync create a archive on the fly, or does this have to be done after its finished its transfer? I would also like

Re: Rsync and Tar

2004-01-19 Thread jw schultz
On Mon, Jan 19, 2004 at 03:56:40PM -0700, Steve Sills wrote: Hello, I am trying to setup a backup system. What I would like to do is have rsync create a tar file as it downloads (to save space) and just have it update that tar file. Can rsync create a archive on the fly, or

Re: Improving name-truncation detection

2004-01-19 Thread Wayne Davison
On Mon, Jan 19, 2004 at 02:39:56PM -0800, jw schultz wrote: If we are going to vet the path name for overflow (a good idea) lets do it once, explicitly, as we receive it instead of having tests scattered throughout the code. Yeah, good idea. When all you are doing is concatinating a couple

Re: Improving name-truncation detection

2004-01-19 Thread Wayne Davison
On Mon, Jan 19, 2004 at 05:44:20PM -0800, Wayne Davison wrote: I'll append my util.c patch to this email. Or perhaps to this one... ..wayne.. --- util.c 2 Jan 2004 07:31:02 - 1.123 +++ util.c 20 Jan 2004 01:14:34 - @@ -553,6 +553,36 @@ void strlower(char *s) } }

rsync on Interix WSU 3.5

2004-01-19 Thread darren
I'm need to run a rsync server on a Quad 2.8Ghz , 1Gb RAM, 1Terabyte of disk.. Dell 725N - it's a storage, NAS type box running W2K, RAID 5 etc.. A real beast.. :-) The Unix guys want to backup their boxes to this beast using rsync clients. It would seem that Windows Services for Unix (WSU) is

Re: Improving name-truncation detection

2004-01-19 Thread jw schultz
On Mon, Jan 19, 2004 at 05:44:20PM -0800, Wayne Davison wrote: On Mon, Jan 19, 2004 at 02:39:56PM -0800, jw schultz wrote: If we are going to vet the path name for overflow (a good idea) lets do it once, explicitly, as we receive it instead of having tests scattered throughout the code.

Re: Improving name-truncation detection

2004-01-19 Thread Wayne Davison
On Mon, Jan 19, 2004 at 06:35:14PM -0800, jw schultz wrote: That is why we use stacked strlcpy. Of course. I just thought I'd mention it since other sections of the code have been using the strlcat() idiom and I have been optimizing them away. ..wayne.. -- To unsubscribe or change options:

Re: Improving name-truncation detection

2004-01-19 Thread jw schultz
On Mon, Jan 19, 2004 at 06:00:32PM -0800, Wayne Davison wrote: On Mon, Jan 19, 2004 at 05:44:20PM -0800, Wayne Davison wrote: I'll append my util.c patch to this email. Or perhaps to this one... If you're going to do the strlen(src) and whatnot you might as well just snag the strlcpy source

Re: Rsync and Tar

2004-01-19 Thread Steve Sills
I wasn't trying to reinvent the wheel I was just trying to see if anyone had done this. Your answer helped, so thankyou, but try not to be so snarkey in the future, most people including myself to look things up before we post on a mailing list. Steve jw schultz wrote: On Mon, Jan 19, 2004

Re: rsync on Interix WSU 3.5

2004-01-19 Thread Cedric Puddy
Side note about Interix tools -- I just checked on Interop Systems site, and they don't seem to be currently maintaining a port of rsync. They maintain prebuilt copies (with source, of course, and they do submit changes back to maintainers AFAIK when they make changes) of many useful tools. If

Re: Improving name-truncation detection

2004-01-19 Thread Wayne Davison
On Mon, Jan 19, 2004 at 06:46:48PM -0800, jw schultz wrote: If you're going to do the strlen(src) and whatnot you might as well just snag the strlcpy source and tweak it so you only have to scan the data once. I used rsync's version of strlcpy() from the lib/compat.c file as a basis for the

Re: Improving name-truncation detection

2004-01-19 Thread jw schultz
On Mon, Jan 19, 2004 at 07:09:29PM -0800, Wayne Davison wrote: On Mon, Jan 19, 2004 at 06:46:48PM -0800, jw schultz wrote: If you're going to do the strlen(src) and whatnot you might as well just snag the strlcpy source and tweak it so you only have to scan the data once. I snagged

CVS update: rsync

2004-01-19 Thread Wayne Davison
Date: Mon Jan 19 23:33:02 2004 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/home/wayned/src/rsync Modified Files: options.c Log Message: Make sure that the batch-prefix string isn't overly long (avoiding a potential problem in the batch-filename code).

CVS update: rsync/lib

2004-01-19 Thread Wayne Davison
Date: Tue Jan 20 00:59:26 2004 Author: wayned Update of /data/cvs/rsync/lib In directory dp.samba.org:/tmp/cvs-serv5112 Modified Files: compat.c Log Message: Make sure that strlcpy() returns the right value when the bufsize is 0. Revisions: compat.c1.20 = 1.21

CVS update: rsync

2004-01-19 Thread Wayne Davison
Date: Tue Jan 20 04:53:59 2004 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/home/wayned/src/rsync Modified Files: exclude.c Log Message: Use new pathjoin() function. Revisions: exclude.c 1.57 = 1.58

CVS update: rsync

2004-01-19 Thread Wayne Davison
Date: Tue Jan 20 04:56:52 2004 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/home/wayned/src/rsync Modified Files: rsync.c Log Message: Use new pathjoin() function. Revisions: rsync.c 1.128 = 1.129

CVS update: rsync

2004-01-19 Thread Wayne Davison
Date: Tue Jan 20 05:24:07 2004 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv2033 Modified Files: backup.c Log Message: Use new stringjoin() and pathjoin() functions. Revisions: backup.c1.18 = 1.19

CVS update: rsync

2004-01-19 Thread Wayne Davison
Date: Tue Jan 20 05:35:57 2004 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv4966 Modified Files: sender.c Log Message: Use new stringjoin() function. Revisions: sender.c1.34 = 1.35