# BKP_UPLOAD_FAIL: Backup was not completed

- Module: BKP. Backup service (Enterprise backups and their copy to the backup datacentre)
- Severity: Error
- Impact: Customers. End customers are affected (e.g. a missing e-mail, payment or order).
- Retry: Manual. Safe for an operator to retry the action.
- Reference: https://docs.bizkithub.com/en/system-codes/BKP_UPLOAD_FAIL

## What happened

A backup started through the backup API was not completed: no data arrived, the upload stopped part way for more than 6 hours, the stored size did not match, or the upload expired in storage. The backup is not stored.

## Likely causes

- The backup job on the source server crashed or lost its network connection during the upload.
- The client started the upload but never sent the file data.
- The file changed on disk while it was being uploaded.

## How to resolve

1. Open the backup in Backups in the administration and read the reason.
2. Check the backup job and its log on the source server, then run it again.
3. Upload one finished file (a dump or an archive), not a file that is still being written.

## Related codes

- BKP_UPLOAD_AUTO: Backup completed automatically
- BKP_EXPECT_MISS: Expected backup did not arrive
- BKP_MIRROR_FAIL: Backup could not be copied to the backup datacentre
- BKP_MIRROR_SLA: Backup copy to the second datacentre is late
- BKP_REVERIFY_BAD: Stored backup failed periodic re-verification
- BKP_SHA_MISMATCH: Backup failed the integrity check
