Does rsync detect file corruption?

Daniel Carrera daniel.carrera at theingots.org
Sun May 24 14:53:01 GMT 2009


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.


Christian Hecht wrote:
> This can minimize the risk, but if you don't need the corrupted file 
> actually, you can't detect that it is corrupted.
> 
> The corrupted file will be copied to a newer backup folder.
> 
> If you delete the old backups due to rotation, at any time the backup is 
> worthless because it only contains the corrupted copy.
> 
> So some mechanism is needed to detect  corrupted files before copying to 
> the backup.
> 
> Best regards
> Christian



More information about the rsync mailing list