[Borgbackup] borg prune crashing: AttributeError: 'tuple' object has no attribute 'items'
Bryan Fields
Bryan at bryanfields.net
Tue Nov 10 09:55:41 EST 2020
On 11/10/20 6:56 AM, Thomas Waldmann wrote:
> But if you can't afford to lose the repo, make a copy of it.
>
> Advisory to follow:
>
> https://borgbackup.readthedocs.io/en/stable/changes.html#pre-1-1-11-potential-index-corruption-data-loss-issue
>
>>> root at web1:~# borg check -v
>>> Did not get expected metadata dict when unpacking item metadata (not a dictionary) [chunk: 000385_2c270a4e6dd4f70477ff2e74be5d6961f763ddb8e17222ab7db2a33d56cea59e]
> That chunks seems broken. Or the index points to the wrong place for
> that chunk.
>
> Guess we could add the check emitting this message also at the place
> where it crashed for you.
I did the repair as in the advisory and it cleaned it up with the one archive
that was failing. I ran my normal script to be sure and it's working again.
Thank you
--
Bryan Fields
727-409-1194 - Voice
http://bryanfields.net
More information about the Borgbackup
mailing list