Skip to content
EN | DE

Download database backup

GET
/db/backup
curl --request GET \
--url https://demo.evcc.io/api/db/backup \
--cookie auth=<auth>

Downloads the SQLite database as a backup file. Session users must supply the admin password in the X-Admin-Password header. API key holders via Bearer token are exempt.

X-Admin-Password

Admin password

string

Admin password (required for session auth, not needed for API key)

SQLite database file

Media typeapplication/octet-stream
string format: binary

Unauthorized - Login and try again

Media typetext/plain
string
Allowed values: Unauthorized