PUBLIC_BACKUP_FILE_TOO_LARGEThe backup file is larger than the maximum allowed size (1 TiB).
Z BizKitHub Docs, dokumentacja kodów błędów API
Nazwy i opisy kodów prowadzimy po angielsku.
HTTP 413Publiczne 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 rozwiązać
- 1
Split the backup into several files (for example per database or per directory).
- 2
Compress the data before upload (zstd, gzip).
Przykładowa odpowiedź
API odpowiada statusem HTTP 413 i treścią w formacie JSON. Porównuj errorCode, nie message. Komunikaty mogą się zmieniać, kody pozostają stałe.
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"
}Wspomniano w artykułach
Artykuły dokumentacji, które odwołują się do PUBLIC_BACKUP_FILE_TOO_LARGE.