How to avoid loosing rsync temp/partial files

Matt McCutchen matt at
Mon Dec 31 20:58:19 GMT 2007

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 rename/copy to the partial dir succeeds).

I tested, and this appears to be completely fixed: rsync doesn't remove
the source file until the destination file is successfully in place.
The copy left in the partial dir should speed a subsequent run.


More information about the rsync mailing list