Damaged source medium during rsync

Felix E. Klee fk at linuxburg.de
Wed Aug 30 10:30:11 GMT 2006

What happens when rsync'ing a file that is damaged bacause of a bad sector on 
the source medium?  I assume that the file will be synchronized partially, 
overwriting any file of the same name on the destination medium.  If that is 
the case, is there a way to make rsync check readability of files before 
overwriting them on the target medium (e.g. by synching to a temp. file and, 
once everything went fine, moving it to its final destination)?

Dipl.-Phys. Felix E. Klee
Email: fk at linuxburg.de (work), felix.klee at inka.de (home)
Tel: +49 721 8307937, Fax: +49 721 8307936
Linuxburg, Goethestr. 15a, 76135 Karlsruhe, Germany

More information about the rsync mailing list