PUBLIC_BACKUP_FILE_TOO_LARGE

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

Z BizKitHub Docs, referencia chybových kódov API

Názvy a popisy kódov udržiavame v angličtine.

HTTP 413Verejné 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`.

Ako to vyriešiť

  1. 1

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

  2. 2

    Compress the data before upload (zstd, gzip).

Ukážka odpovede

API odpovie statusom HTTP 413 a telom vo formáte JSON. Porovnávajte errorCode, nie message. Správy sa môžu preformulovať, kódy zostávajú rovnaké.

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"
}

Spomenuté v článkoch

Články dokumentácie, ktoré odkazujú na PUBLIC_BACKUP_FILE_TOO_LARGE.