Skip to content

Stream a one-shot SQLite backup

POST
/system/backup/download
curl --request POST \
--url https://your-server.example/api/system/backup/download \
--header 'Content-Type: application/json' \
--cookie session=<session> \
--data '{ "compact": false }'

Runs VACUUM INTO to a temporary file then streams it. When compact=true, metrics and request stats tables are stripped before download.

Media typeapplication/json
object
compact
boolean

SQLite database bytes.

Media typeapplication/octet-stream
string format: binary