3 ms·
Restic can detect and fix bitrots in encrypted backups. Restic stores small chunks of files, so only small chunks are affected by bitrots.
by amano-kenji 2y ago
Restic can detect and fix bitrots in encrypted backups. Restic stores small chunks of files, so only small chunks are affected by bitrots.
- aborsy 2y agoIt can detect, but cannot fix. It doesn’t have Reed Solomon coding. Very few have, Kopia is the only one that I know of. ZFS can fix errors too with Raid or copies=2.
- amano-kenji 2y agohttps://restic.readthedocs.io/en/stable/077_troubleshooting.html#repair-the-index https://restic.readthedocs.io/en/stable/077_troubleshooting....
- aborsy 2y agoThis is just repairing the index file, automating what used to be done manually: salvaging the rest of the data that has not been lost hopefully (not restoring lost data).
- amano-kenji 2y agoDoes restic not try to fetch the pristine data chunks from the source? Technically, there are two copies of data. One is on the source. The other is on the destination. Thus, restic can be like raid1. Restic has checksums for chunks. RAID1 with checksum can repair errors.