I’m randomly having this kind of error in our restic backups:
The index references XXXXX needed pack files which are missing from the repository:
Fatal: packs from index missing in repo
Does it mean that the repository is somehow corrupted?
Would a “rebuild index” fix this issue?
Why this sometimes happens and sometimes not in the same repository?
Thanks for your help
To be more specific: this error happens during the forget/prune phase.
Judging from the background story in Very slow restic prune , my guess would be that the S3 bucket listing is incomplete from time to time. So, a quite likely explanation is that the list of pack files which
prune gets in incomplete and hence the missing file errors. As far as I remember, minio has options to ensure a consistent file listing or maybe you’re encountering some timeout.
Is there any structure visible in the pack file names reported as missing?
Please do not open a new topic when there’s no quick reply. It doesn’t help to loose context when taking a look at a problem.