Skip to content

repository format conversion for existing repos #6512

@ThomasWaldmann

Description

@ThomasWaldmann

related to #1704:

borg < 1.3 repos will have all data in PUT entries (not: PUT2 as generated by #1704 solution).

while we could initially offer PUT2 only for new repos / newly stored data, we should also provide a conversion from PUT to PUT2 so that

  • we later can remove the PUT based code in borg.repositorycompletely.
  • we can have the better integrity checks of PUT2 (crc32 only over header data, cryptographic hash for content data)
  • we can have the better performance of PUT2 (not having to read all data to verify the crc32, if we are only interested in the header)

Conversion is quite easy, but what's harder is how to best deal with very large repositories, potential interruptions of the process, etc.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions