---
title: "Download database backup"
method: GET
path: "/db/backup"
tags: ["db"]
---

# Download database backup

`GET /db/backup`

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.

## Headers

- `X-Admin-Password` string — Admin password

## Response `200`

SQLite database file

## Other responses

- `401` — Unauthorized - Login and try again

---

[API](https://skmtc.net/evcc-io/apis/evcc.md) · [All operations](https://skmtc.net/evcc-io/apis/evcc/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/evcc-io/evcc/versions/1d484c790b11/schema)
