Does rsync detect file corruption?

Jamie Lokier jamie at shareable.org
Sun May 24 15:30:28 GMT 2009


Daniel Carrera wrote:
> But there is no way to distinguish between file corruption and a 
> legitimate change. All you can do is keep old backups for a few days or 
> weeks and hope that you detect the file corruption before the backup 
> rotation deletes all the good copies.

I'm under the impression ZFS (Solaris) and BTRFS (Linux) allow a
checksum to be stored with the file data, so if the data changes due
to disk corruption or glitches in the I/O cabling, that will be detected.



More information about the rsync mailing list