borgbackup / borgbackup/borg

borg2: check [--repair] improvements

Open
#8,466 2 comments 0 reactions 0 assignees View on GitHub
c: index or hashtable cmd: check
Dominant language
Python
Stars
13.7k
Forks
875
Avg merge
11h 15m
Merged PRs (30d)
192

Description

Currently (beta12), borg2 check just deletes the chunks index cached in the repo. This is because borg check --repair might have deleted some invalid repo objects, thus the cached chunks index is not uptodate anymore. After that, first access to the repo will rebuild the chunks index cache (slow).

Guess we could just build and cache a new chunks index within borg check --repair and maybe also in borg check without --repair.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.