PUBLIC_BACKUP_FILE_TOO_LARGE

The backup file is larger than the maximum allowed size (1 TiB).

From BizKitHub Docs, the API error code reference
HTTP 413Public API
A single backup can be at most 1 TiB (1 099 511 627 776 bytes). The limit is checked against `size` in `/backup/start` and against the real stored size on `/backup/complete`.

How to resolve

  1. 1

    Split the backup into several files (for example per database or per directory).

  2. 2

    Compress the data before upload (zstd, gzip).

Example response

The API answers with HTTP 413 and a JSON body. Match on errorCode, not on message. Messages may be reworded, codes are stable.

application/json
{
  "state": "error",
  "code": 413,
  "message": "The backup file is larger than the maximum allowed size (1 TiB).",
  "errorCode": "PUBLIC_BACKUP_FILE_TOO_LARGE",
  "hint": "A single backup can be at most 1 TiB (1 099 511 627 776 bytes). The limit is checked against `size` in `/backup/start` and against the real stored size on `/backup/complete`.",
  "documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_BACKUP_FILE_TOO_LARGE"
}

Mentioned in articles

Documentation articles that refer to PUBLIC_BACKUP_FILE_TOO_LARGE.