On Fri 22 May 2009, Daniel Carrera wrote:
>
> In general, rsync will only update a file if it has been modified. Now,  
> imagine that one of the files becomes corrupted in the backup directory,  
>  but the timestamp hasn't changed. Will rsync detect this?

Not in the usual case.

You may want to consider adding -c (--checksum) to the options
periodically, as this tells rsync to checksum each file and use that as
a basis to determine whether to update a file or not, instead of modtime
and size. Note that this will probably slow rsync down considerably, as
it now needs to read each file on both ends of the transfer.


Paul
-- 
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

Reply via email to