agent image: add sqlite3 + sync v1.3 (SQLite file backups, chunked upload, metrics)
Build and Push backhaul-agent / build (push) Successful in 39s

- sqlite3 in the image so the agent can back up SQLite files (Vaultwarden etc.) via .dump.
- Sync backhaul-agent.py to v1.3: sqlite engine (sqlite:<path> target), chunked upload
  (large dumps past the CDN cap), live metrics, self-update UA fix.
This commit is contained in:
steffen
2026-08-11 16:14:35 +02:00
parent f2257eae40
commit 7a39ac494f
2 changed files with 148 additions and 18 deletions
+3 -2
View File
@@ -5,11 +5,12 @@
FROM debian:bookworm-slim
# postgresql-client-17 from PGDG (Debian's default is 15, and pg_dump refuses a newer server
# major — nc-db and most modern Postgres are 17). default-mysql-client covers MySQL/MariaDB.
# major — nc-db and most modern Postgres are 17). default-mysql-client covers MySQL/MariaDB;
# sqlite3 lets the agent back up SQLite files (e.g. Vaultwarden) via `.dump`.
RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends \
ca-certificates curl gnupg python3 cron default-mysql-client; \
ca-certificates curl gnupg python3 cron default-mysql-client sqlite3; \
install -d /usr/share/postgresql-common/pgdg; \
curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc \
-o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc; \