Skip to content

How to list files corresponding to corrupted data segments? #372

@bopolissimus

Description

@bopolissimus

Apologies for posting this question here (although this could be a feature request if the feature doesn't currently exist). librelist is not accepting my subscribe attempts from several different addresses.

My backup device is an external USB device. Every few years I replace them as they develop bad blocks. If the bad blocks happen to be under one or another of the data/#/##### files then a very small part of my backup files will be corrupt.

I can recover most of the backup data since only a few of the data/#/##### blocks will have been corrupted. I copy the attic data to a good drive, run attic check --repair on the copy, and can then use the backup.

Is there an attic command that will allow me to determine which files (in which archives) are affected by the bad blocks? e.g., if I have:

Starting repository check...
Error reading segment 3
attempting to recover work-backup.attic/data/0/3
Error reading segment 11
attempting to recover work-backup.attic/data/0/11

How would I determine which archives/files are affected so that I know to not try to restore those files from backup (or remove them after a restore)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions