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

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