Re: How to avoid loosing rsync temp/partial files

2007-12-31 Thread Matt McCutchen
On Mon, 2007-12-31 at 10:38 -0800, Wayne Davison wrote: > This is now fixed in the latest dev version. The original file will be > left intact if the rename from the --temp-dir fails, and a copy of the > successful transfer will be left in the --partial-dir if that option was > specified (and the

RE: How to avoid loosing rsync temp/partial files

2007-12-31 Thread Shani Ben - Avraham
@lists.samba.org Cc: Shani Ben - Avraham; Greg Pendler; Ofer Sofer Subject: How to avoid loosing rsync temp/partial files Hallo, I am using rsync to copy remote files into a local directory. I use the following flags: "--remove-sent-files --partial-dir=/tmp --partial --temp-dir=/tmp --b

RE: How to avoid loosing rsync temp/partial files

2007-12-31 Thread Shani Ben - Avraham
. What do you say? Shani From: Shushu Inbar שושו ענבר [mailto:[EMAIL PROTECTED] Sent: Sunday, December 30, 2007 12:46 PM To: rsync@lists.samba.org Cc: Shani Ben - Avraham; Greg Pendler; Ofer Sofer Subject: How to avoid loosing rsync temp/partial files Hallo

Re: How to avoid loosing rsync temp/partial files

2007-12-31 Thread Wayne Davison
On Sun, Dec 30, 2007 at 01:49:10PM -0500, Matt McCutchen wrote: > Yes, the premature deletion of the source files ought to be fixed. This is now fixed in the latest dev version. The original file will be left intact if the rename from the --temp-dir fails, and a copy of the successful transfer wi

Re: How to avoid loosing rsync temp/partial files

2007-12-30 Thread Matt McCutchen
On Sun, 2007-12-30 at 12:46 +0200, Shushu Inbar שושו ענבר wrote: > My problem is that when I have proper permissions in the partial dir, > but no permissions in the destination dir, it means that the rsync > deletes the original files, and after failing to copy the files > from /tmp to the destinat

Re: How to avoid loosing rsync temp/partial files

2007-12-30 Thread Shushu Inbar שושו ענבר
mailto:[EMAIL PROTECTED] > *Sent:* Sunday, December 30, 2007 12:46 PM > *To:* rsync@lists.samba.org > *Cc:* Shani Ben - Avraham; Greg Pendler; Ofer Sofer > *Subject:* How to avoid loosing rsync temp/partial files > > > > Hallo, > > I am using rsync to copy remote files in

How to avoid loosing rsync temp/partial files

2007-12-30 Thread Shushu Inbar שושו ענבר
Hallo, I am using rsync to copy remote files into a local directory. I use the following flags: "--remove-sent-files --partial-dir=/tmp --partial --temp-dir=/tmp --backup --suffix=.bak". I need the partial issue since in the final destination I must have only closed and full files. I need to remo