3 ms·
I disagree with the premise of the article. Archive formats are all inadequate for long-term resilience and making them adequate would be a violation of the “do
by jl6 4y ago
I disagree with the premise of the article. Archive formats are all inadequate for long-term resilience and making them adequate would be a violation of the “do one thing and do it right” principle.
To support resilience, you don’t need an alternative to xz, you need hashes and forward error correction. Specifically, compress your file using xz for high compression ratio, optionally encrypt it, then take a SHA-256 hash to be used for detecting errors, then generate parity files using PAR[1] or zfec[2] to be used for correcting errors.
[1] https://wiki.archlinux.org/title/Parchive https://wiki.archlinux.org/title/Parchive
[2] https://github.com/tahoe-lafs/zfec https://github.com/tahoe-lafs/zfec