This is a discussion on Re: Partial Transfer Problem - Tools ; Ah, that explains it. I was killing the rsync script and that didn't give it time to convert the temporary file to a partial file. I just tried it again, but this time I stopped the daemon on the other ...
< The receiving rsync first creates a temporary file in the destination directory with a name in the format ".foo.XXXXXX", where "foo"
< represents the name of the source file. Only when rsync is interrupted does it convert the temporary file to a partial file named exactly "foo"
< and placed in a --partial-dir if one is specified.
< Perhaps the file you see is really a temporary file, not a partial file, and the receiving rsync is dying in such a way that it doesn't have a chance to store the temporary file as a partial file. Rsync reuses only partial files, not temporary files, so this would explain rsync's failure to reuse the transferred data on the next run. To confirm (or
< refute) this idea, what is the name of the file that appears in the destination? And what were the last few lines of output from rsync before it exited, leaving the file behind?
Ah, that explains it. I was killing the rsync script and that didn't give it time to convert the temporary file to a partial file. I just tried it again, but this time I stopped the daemon on the other side and it worked as expected.
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html