Recover a single file from a damaged Borg archive
When a Borg repository gets corrupted, the instinct is to dump the whole thing back. That’s usually overkill if you just need one config file. Borg actually gives you a fine‑grained extraction tool that can pull a single file even from a partially broken archive.
1. Verify the repository
borg check /srv/backups/myrepo
borg check will surface any integrity problems. If you see corruption, you can try to fix it: