Software such as Kopia and Duplicity have this feature that you set a percentage for error tolerance, and the backup software adds a Reed-Solomon code that allows recovery from errors or damaged repositories. This increases the size of the repository by the same percentage.
From a GitHub discussion, it seems Borg might also have such plan (though not in Borg 2.0, where bigger issues are solved).