Skip to content

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

Description

@ThomasWaldmann

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions