can't delete older file/directory links on another local partitionafter `snapshot' type backup script

2003-03-11 Thread Dalton Harvie
Thanks for looking at this, and developing rsync. Really useful program that I rely on. Bit of a newbie but I couldn't find anything on this in these archives. Hopefully it's a really stupid question! I'm trying to backup using cp -al and then rsync -auR --delete backup idea basically as pe

Problems with ! -p

2003-03-11 Thread David Leach
Hi there, rsync version 2.5.5 protocol version 26. I seem to be having some trouble using rsync to ignore permissions on a remote host when syncing back to a local host. I want it to listen to the umask of the user running the rsync locally. Eg: [remote host - I've touched a file made it 475

Re: (fwd from kladit@t-online.de) files of length zero

2003-03-11 Thread jw schultz
On Wed, Mar 12, 2003 at 11:28:39AM +1100, Martin Pool wrote: > - Forwarded message from Klaus Dittrich <[EMAIL PROTECTED]> - > > From: [EMAIL PROTECTED] (Klaus Dittrich) > Subject: files of length zero > Date: Tue, 11 Mar 2003 17:08:47 +0100 > To: [EMAIL PROTECTED] > User-Agent: Mutt/1.4i

rsync reference case

2003-03-11 Thread Simon Szeto
Dear all, I would like to propose rysnc feature to our customer. Do you have any reference case from other company that there is using rsync in the production server? regards, Simon _ §ÚªºÅº¶Æ(®e¯ª¨à)¡A¥ª¾F¥k¨½(§õ§J¶Ô)¡A§A³Ì¬õ(Twins)... ¹L¤

(fwd from kladit@t-online.de) files of length zero

2003-03-11 Thread Martin Pool
- Forwarded message from Klaus Dittrich <[EMAIL PROTECTED]> - From: [EMAIL PROTECTED] (Klaus Dittrich) Subject: files of length zero Date: Tue, 11 Mar 2003 17:08:47 +0100 To: [EMAIL PROTECTED] User-Agent: Mutt/1.4i X-Bogosity: No, tests=bogofilter, spamicity=0.00, version=0.10.2 Hi Ma

rsync on windows with password keypair

2003-03-11 Thread DGCSPM
Hello. I am a newcomer to rsync so please forgive me if this question is dumb. I'm still learning rsync and I didn't find anything on this topic elsewhere. Is it possible to run the rsync client on windows with a passworded keypair using Pageant or SSH Accession? When I attempt to run these comman

Re: Rsync problem

2003-03-11 Thread Addady
It happen to me also rsync from cygwin 2.5-6 to Linux 2.5-6. On the client side I got: rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown": Connection reset by peer rsync error: error in rsync protocol data stream (code 12) at io.c(515) On the server log: 2003/03/11 14:08:30 [29

rsync and ACL

2003-03-11 Thread Eric Chen
Hi, I was wondering if there has been any updates on rsync and ACLs. If anybody has some way to use rsync and transfer the ACLs, please let me know. Regards, Eric -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/

Re: File name too long

2003-03-11 Thread Paul Slootman
On Tue 11 Mar 2003, Luc Santeramo wrote: > A 16:19 11/03/2003 +0100, Paul Slootman a écrit : > >On Tue 11 Mar 2003, Luc Santeramo wrote: > > > >> maybe you can send me receiver.c ? > > > >Done. > > ok I got it > but maybe I should wait for you and JW to agree on this part ? Well, it's basically

Re: Syncing Multiple servers simultaneously

2003-03-11 Thread Jos Backus
On Tue, Mar 11, 2003 at 07:32:07AM -0800, Vaibhav Goel wrote: > Is there a way of syncing multiple servers simultaneously from 1 source > server? Not sure if this is what you are looking for, but have you looked at the (experimental) batch mode support in recent rsync versions? -- Jos Backus

Syncing Multiple servers simultaneously

2003-03-11 Thread Vaibhav Goel
Hi all; I am sure this question has been brought up before, but I could not find any information in the FAQ or docs etc. Quick question; Is there a way of syncing multiple servers simultaneously from 1 source server? Thanks, -- Vaibhav Goel extension 6347 -- To unsubscribe or change option

Re: File name too long

2003-03-11 Thread Luc Santeramo
A 16:19 11/03/2003 +0100, Paul Slootman a écrit : On Tue 11 Mar 2003, Luc Santeramo wrote: > maybe you can send me receiver.c ? Done. ok I got it but maybe I should wait for you and JW to agree on this part ? Luc -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync

Re: File name too long

2003-03-11 Thread jw schultz
On Tue, Mar 11, 2003 at 03:45:05PM +0100, Paul Slootman wrote: > On Tue 11 Mar 2003, jw schultz wrote: > > > > Hmm. I'm thinking we should just build fnametmp a piece at > > a time. I coded it up to see how it would look. Not as > > intuitive but there is a lot less strlen and no snprintf. > >

Re: File name too long

2003-03-11 Thread Paul Slootman
On Tue 11 Mar 2003, Luc Santeramo wrote: > maybe you can send me receiver.c ? Done. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Re: File name too long

2003-03-11 Thread Luc Santeramo
For some reason patch doesn't recognize what to patch. I think the easiest way is to get the rsync package I uploaded to the Debian unstable branch this morning. Until it shows up in the archive, you can get it here: http://people.debian.org/~paul/rsync_2.5.6-0.1_i386.deb The dependencies are libc

RE: Trouble using RSYNC from a SSH terminal

2003-03-11 Thread Antonio J. M.
Hi, Try: rsync -varze ssh --rsync-path= @:resource /destination i.e. rsync -varze ssh --rsync-path=/usr/local/bin/rsync [EMAIL PROTECTED]:/home/bob/ /home/bob/ Regards -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Francisco Álvarez Martínez (Cybercli

Re: File name too long

2003-03-11 Thread Paul Slootman
On Tue 11 Mar 2003, Luc Santeramo wrote: > Hi, > > when I try to patch I got > > # patch -p0 < file_name_too_long.diff > patching file rsync-2.5.6/receiver.c > Hunk #1 FAILED at 166. > 1 out of 1 hunk FAILED -- saving rejects to file rsync-2.5.6/receiver.c.rej > > am I doing something wrong? Fo

Re: File name too long

2003-03-11 Thread Paul Slootman
On Tue 11 Mar 2003, jw schultz wrote: > > Hmm. I'm thinking we should just build fnametmp a piece at > a time. I coded it up to see how it would look. Not as > intuitive but there is a lot less strlen and no snprintf. > It also deals shortens the filename both for MAXPATHLEN and > for NAME_MAX

Re: File name too long

2003-03-11 Thread Luc Santeramo
Hi, when I try to patch I got # patch -p0 < file_name_too_long.diff patching file rsync-2.5.6/receiver.c Hunk #1 FAILED at 166. 1 out of 1 hunk FAILED -- saving rejects to file rsync-2.5.6/receiver.c.rej am I doing something wrong? thanks Luc With this patch, I can successfully transfer a file

Re: Renaming Folder without resync it fully ?

2003-03-11 Thread jw schultz
On Tue, Mar 11, 2003 at 07:33:27AM -0600, [EMAIL PROTECTED] wrote: > > Hey all, > > Sorry if my question seems candide but I need some help. > > I'm running samba on one of my remote machine,and rsync allow me to do my daily > backup through a low bandwidth network. Until recently everything wa

Trouble using RSYNC from a SSH terminal

2003-03-11 Thread Francisco Álvarez Martínez
Hi, I'm setting up mirror server using RSYNC, but I couldn't find the answer... Why is possible to backup to my local Linux machine and why I couldn't use the same instruction for backing up through SSH? I explain: from the command line of my linux machine, I write: rsync -avuzb xxx.xxx.xxx

Trouble using RSYNC from a SSH terminal

2003-03-11 Thread Francisco Álvarez Martínez (Cyberclick)
Hi, I'm setting up mirror server using RSYNC, but I couldn't find the answer... Why is possible to backup to my local Linux machine and why I couldn't use the same instruction for backing up through SSH? I explain: from the command line of my linux machine, I write: rsync -avuzb xxx.xxx.xxx.xxx::

Renaming Folder without resync it fully ?

2003-03-11 Thread dbuiltjes
Hey all, Sorry if my question seems candide but I need some help. I'm running samba on one of my remote machine,and rsync allow me to do my daily backup through a low bandwidth network. Until recently everything was ok, but I've got some users renaming several folders. In this case rsync resen

Re: File name too long

2003-03-11 Thread jw schultz
On Tue, Mar 11, 2003 at 10:47:10AM +0100, Paul Slootman wrote: > On Tue 11 Mar 2003, jw schultz wrote: > > > > That or char fscratch[MAXPATHLEN]; > > Just don't use malloc. > > How about this: > > > static int get_tmpname(char *fnametmp, char *fname) > { > char*f; > char*dir

Re: BUG: logging on the wrong side with 2.5.6

2003-03-11 Thread Stefan Nehlsen
On Tue, Mar 11, 2003 at 12:34:12AM -0800, jw schultz wrote: > On Tue, Mar 11, 2003 at 09:20:07AM +0100, Paul Slootman wrote: > > On Mon 10 Mar 2003, Stefan Nehlsen wrote: > > > > > > > > I have upgraded an rsyncd Server to 2.5.6. > > > > > > When I upload files using > > > > > > rsync -rv --s

PATCH: rsyncd.conf permission options

2003-03-11 Thread Stefan Nehlsen
This is a patch to control unix permissions when uploading to a rsyncd-server by setting rsyncd.conf options. cu, Stefan -- Stefan Nehlsen | ParlaNet Administration | [EMAIL PROTECTED] | +49 431 988-1260 diff -ur rsync-2.5.5/loadparm.c rsync-2.5.5-umask/loadparm.c --- rsync-2.5.5/loadparm.c

Re: File name too long

2003-03-11 Thread Paul Slootman
On Tue 11 Mar 2003, jw schultz wrote: > > That or char fscratch[MAXPATHLEN]; > Just don't use malloc. How about this: static int get_tmpname(char *fnametmp, char *fname) { char*f; char*dir = ""; /* what dir to put the temp file in */ charnamepart[NAME_MA

Re: File name too long

2003-03-11 Thread jw schultz
On Tue, Mar 11, 2003 at 09:51:42AM +0100, Paul Slootman wrote: > On Tue 11 Mar 2003, jw schultz wrote: > > On Tue, Mar 11, 2003 at 09:16:24AM +0100, Paul Slootman wrote: > > > > > > > > The one thing that bothers me, also present in the current > > > > code is the bit of changing and then restorin

Re: File name too long

2003-03-11 Thread Paul Slootman
On Tue 11 Mar 2003, jw schultz wrote: > On Tue, Mar 11, 2003 at 09:16:24AM +0100, Paul Slootman wrote: > > > > > > The one thing that bothers me, also present in the current > > > code is the bit of changing and then restoring fname. That > > > complicates the code in ways that are prone to induc

Re: BUG: logging on the wrong side with 2.5.6

2003-03-11 Thread jw schultz
On Tue, Mar 11, 2003 at 09:20:07AM +0100, Paul Slootman wrote: > On Mon 10 Mar 2003, Stefan Nehlsen wrote: > > > > > I have upgraded an rsyncd Server to 2.5.6. > > > > When I upload files using > > > > rsync -rv --stats --progress /bla/content/ [EMAIL PROTECTED]::bla > > > > I noticed that

Re: File name too long

2003-03-11 Thread jw schultz
On Tue, Mar 11, 2003 at 09:16:24AM +0100, Paul Slootman wrote: > On Mon 10 Mar 2003, jw schultz wrote: > > > > Overall it looks like it should be an improvement. Getting > > rid of all that code duplication is a real gain. > > > > The one thing that bothers me, also present in the current > > co

Re: BUG: logging on the wrong side with 2.5.6

2003-03-11 Thread Paul Slootman
On Mon 10 Mar 2003, Stefan Nehlsen wrote: > > I have upgraded an rsyncd Server to 2.5.6. > > When I upload files using > > rsync -rv --stats --progress /bla/content/ [EMAIL PROTECTED]::bla > > I noticed that the client was relative quite while lots of lines listing > directory names are

Re: File name too long

2003-03-11 Thread jw schultz
On Tue, Mar 11, 2003 at 09:11:41AM +0100, Paul Slootman wrote: > On Mon 10 Mar 2003, jw schultz wrote: > > > Please reply to the list. > > Note that you have a > Mail-Followup-To: jw schultz <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > header in your messages, so that mutt's reply to list will still

Re: File name too long

2003-03-11 Thread Paul Slootman
On Mon 10 Mar 2003, jw schultz wrote: > > Overall it looks like it should be an improvement. Getting > rid of all that code duplication is a real gain. > > The one thing that bothers me, also present in the current > code is the bit of changing and then restoring fname. That > complicates the c

Re: File name too long

2003-03-11 Thread Paul Slootman
On Mon 10 Mar 2003, jw schultz wrote: > Please reply to the list. Note that you have a Mail-Followup-To: jw schultz <[EMAIL PROTECTED]>, [EMAIL PROTECTED] header in your messages, so that mutt's reply to list will still want to CC you... I removed your address anyway... > > we need to "wget" a