Skip to content

Verify pack files before upload #4529

@MichaelEischer

Description

@MichaelEischer

Output of restic version

0.16.0

What should restic do differently? Which functionality do you think we should add?

restic should fully decode and verify all blobs in a pack file before uploading to make sure that no data corruption has happened.
This will ensure that the encryption and compression did not damage the blobs.

What are you trying to do? What problem would this solve?

Would have detected the data corruption in #4523 during the backup.
A lot of the data corruption issues listed in https://forum.restic.net/t/study-of-repository-damage-types/5202 would likely also be preventable by this check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions