Re: One stage rsync
Olleg <email@example.com> writes:
> Goswin von Brederlow wrote:
>> That said, what happens when e.g. the rsync stops halfway?
> I make experiment, kill rsync server on transfer.
>> Does it update the files it already has?
>> Does it keep the files delayed and resume on the next run?
>> Does it remove the updates and start fresh the next time?
> Keep files delayed in .~tmp~ subdir by default, don't remove it on
> error. (IMHO this is bug of rsync.) But on rsync next time don't use
> it, simple rewrite.
Keeping the incomplete file isn't an error. On restart rsync should
add the block checksums of the incomplete file to the existing files
blocklist and reuse that data. But that might make thinks more