Fleetdock
API referenceBackupsDatabasesIdDump

Download a one-off backup

Streams a gzip-compressed SQL dump of the database (the same `pg_dump` / `mariadb-dump` output a stored backup contains) straight to the client as `<database>-<YYYYMMDD-HHMMSS>.sql.gz`. Nothing is stored: no backup destination is needed and no backup record is created. Errors before the first byte return JSON; a failure mid-stream truncates the file, which its gzip trailer check exposes. Requires backup:write on the database.

GET
/v1/databases/{id}/dump

Streams a gzip-compressed SQL dump of the database (the same pg_dump / mariadb-dump output a stored backup contains) straight to the client as <database>-<YYYYMMDD-HHMMSS>.sql.gz. Nothing is stored: no backup destination is needed and no backup record is created. Errors before the first byte return JSON; a failure mid-stream truncates the file, which its gzip trailer check exposes. Requires backup:write on the database.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Formatuuid

Response Body

application/gzip

curl -X GET "https://example.com/v1/databases/497f6eca-6276-4993-bfeb-53cbbbba6f08/dump"
"string"