Skip to content

attic check --repository-only reports "Error reading segment ###" at different locations #176

@tgharold

Description

@tgharold

This is with Attic 0.13 - the "error reading" point is different across multiple runs when checking a repository that is accessed and backed up via SSH. Multiple runs produce different error locations.

attic check --repository-only ssh://example.com/backup/beta/athens/attics/smb-software.attic

Starting repository check...
Error reading segment 6322
Index object count mismatch. 967476 != 967402
attic: Exiting with failure status due to previous errors

Running it again produces the output:

Starting repository check...
Error reading segment 2531
Error reading segment 4117
Index object count mismatch. 967476 != 967319
attic: Exiting with failure status due to previous errors

On the third run, it reports a different segment number as the culprit:

Starting repository check...
Error reading segment 7980
Index object count mismatch. 967476 != 967407
attic: Exiting with failure status due to previous errors

Running it a 4th time, gives yet another different result:

Starting repository check...
Error reading segment 300
Error reading segment 1263
Index object count mismatch. 967476 != 967291
attic: Exiting with failure status due to previous errors

Running the check locally on the remote system results in a different result:

attic check --repository-only /backup/beta/athens/attics/smb-software.attic

Starting repository check...
Error reading segment 4985
Index object count mismatch. 967476 != 967404
attic: Exiting with failure status due to previous errors

Approximate details about this particular repository is:

Initializing cache...

Archive name: daily-20150113-1800
Archive fingerprint: c80f6ede0b77be9e63f5cfb78bf5031d50d671e333b4ce265c0705a4d45d7061
Start time: Tue Jan 13 18:00:05 2015
End time: Tue Jan 13 22:25:17 2015
Duration: 4 hours 25 minutes 12.22 seconds
Number of files: 157115

                   Original size      Compressed size    Deduplicated size

This archive: 72.53 GB 65.00 GB 52.44 GB

All archives: 72.53 GB 65.00 GB 52.44 GB

So it's only a modest sized backup. The "index.#####" file is only 81MB. There are about 9900 segment files under the data/0 directory in the repository.

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