# BLOB_SHA_DIFF: Large file hash differs from the stored checksum

- Module: BLOB. Blob storage replication R2 → Hetzner (scout sync-blob-backup)
- Severity: Critical
- Impact: Operators. Organisation staff should take a look. Customers are not affected.
- Retry: Not retryable. Retrying will not help until the cause is fixed.
- Reference: https://docs.bizkithub.com/en/system-codes/BLOB_SHA_DIFF

## What happened

While streaming a file larger than 500 MiB to the backup datacentre, its computed SHA-256 differed from the SHA-256 stored for the file. The copy is identical to the primary object; the stored checksum or the object itself is wrong.

## Likely causes

- The object in primary storage was overwritten or damaged after upload.
- The stored checksum was computed from different content.

## How to resolve

1. Compare the object with the original source and re-upload it if needed.

## Related codes

- BLOB_MIRROR_LRG: Large file could not be copied to the backup datacentre
- BLOB_BAK_CRASH: File backup worker crashed mid-run
- BLOB_MIRROR_LAG: Files without a backup copy for more than 24 hours
- BLOB_RESTORE_BAD: Restore test found missing or damaged files in the backup datacentre
- BLOB_BAK_NOENV: Blob backup worker ran without backup credentials
- BLOB_BAK_PUT_F: Backup S3 PUT failed (R2 → Hetzner mirror)
