PUBLIC_BACKUP_FILE_TOO_LARGE

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

Z BizKitHub Docs, reference chybových kódů API

Názvy a popisy kódů udržujeme v angličtině.

HTTP 413Veřejné 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`.

Jak to vyřešit

  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ázka odpovědi

API odpoví statusem HTTP 413 a tělem ve formátu JSON. Porovnávejte errorCode, ne message. Zprávy se mohou přeformulovat, kódy zůstávají stejné.

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

Zmíněno v článcích

Články dokumentace, které odkazují na PUBLIC_BACKUP_FILE_TOO_LARGE.