Hi,
Sorry if this is well known.
Suposse I am transferring a large (by now) file, say 1Gbyte with --partial:
rsync -e ssh -a --partial 1gbfile server:
If process is interrumpted, temporary file is renamed to good filename with size samall than original, say 400Mbyte, ok.
If from client I do again the same command, then, in server the 400Mbyte file is COPIED to another temporary file, but this take some time.
I from client I press crtl-C when in server temporary file is not already copied, say is 200 Mbyte, temporary file overwrites the 400Mbyte file, losing a lot of data.
Why do no symple rename partial file to temporry file, instead of COPYING?
(Copying generates obvious additional problems where disk space is short).



-- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to