Closed abbbi closed 2 months ago
there seems to be a little bit more off here. because for me every third incremental backup is failing .. i think since merge of commit 4da4d163a58f7dd9ddad01764ec9cf591b06ec5d something is off.
ive reverted the commit for now, until i have found out where exactly the problem is. After revert i can run multiple incremental backups again and the checksums are OK during GC. I guess i missed something of the logic while converting the function to use writeBinary and it produced an index thats not sane.
I noticed this after implementing check in GC to verify the checksums of the index files it processes. In case an backup is started with reuse-csum set, the sha265 checksum in the index file does not match the checksum set via metadata tag for the indexfile itself (because index is reused from indexed/ folder. (#60)