How do you verify your backups?
I was thinking of creating a script that hashes every file on my normal drive and my back up drive, then I would use find to see if any of the hashes do not match
Is there a better way?
You would need to back it up to at least two disks, otherwise you wouldn't know which file is corrupt.
>>58576102
I'm using Rsync over the LAN, so if there's any corruption at all it will be on the backup drive.
ZFS bruh
>>58576890
Umm, no. rsync calculates hashes on both drives so if you're moving files from x to y it moves files only if the hashes don't match. This means if the original file is corrup, and thus the hash is changed, it'll be moved to the backup drive.
some filesystems such as zfs and btrfs do full data checksumming internally
data corruption is either fixed automatically on read (if configured in a RAID), or will report a read error, so you at least know what is corrupted
you could generate checksum files (such as with sha256sum) which you can test backups against, which is better than nothing
uhh maybe you should use RAID, it will do the hashing for you..