borgbackup / borgbackup/borg

borg2: check --verify-data --find-lost-archives can be made faster

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

Description

`borg check` with `--verify-data` **and** `--find-lost-archives`:

In `verify_data`, we do a full pass over all repo objects to verify their cryptographic authenticity. We could build a list of object IDs of archive metadata objects as a side effect there.

If we have that, we could accelerate `rebuild_archives_directory` using that list instead of iterating and reading all objects again.

Note: `--find-lost-archives` is used rarely.

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.