POST
/businesses/{bid}/backupInitiated backup
POST /businesses/{bid}/backup
Requires the export scope.
The גיבוי יזום the regulations require: an archive of the ledger rows, with the full file index and each blob sha256, so the blob store can be audited against it.
Path parameters
| Name | Type | Description | |
|---|---|---|---|
bid | string | required | Business id, from POST /businesses. |
Response
201: { "ok": true, … }
| Field | Type | Description | |
|---|---|---|---|
ok | boolean | required | |
file | FileMeta | required |
Errors: 400, 401, 403, 404, 429. Every failure answers { "error", "reason", "hint", "param", "doc_url", "retryable", "request_id" }: branch on reason, and read hint for what to change (https://docs.billos.co.il/errors.md).