Commit Graph
3 Commits
Author SHA1 Message Date
Mak5er 04b246763d fix: harden backup service restore flow 2026-06-26 02:55:32 +03:00
Mak5er d07ead09d2 fix: improve B2 restore logging and file filtering 2026-06-20 21:01:36 +03:00
Mak5er a0098a92e9 feat: add local PostgreSQL with automated backup/restore
Add postgres, db-init, and backup services to docker-compose.
Migrate database from Neon DB to self-hosted PostgreSQL 17.

- postgres:17-alpine with healthcheck and persistent volume
- db-init: auto-restore from local dump or Backblaze B2 on first start
- backup: scheduled pg_dump with B2 upload (daily at 3am)
- Host-side scripts: backup.sh, restore.sh, cron-backup.sh
- Fixed dynamic table ownership in restore (no hardcoded table names)
- Fixed pg_restore to use docker cp instead of stdin pipe
2026-06-20 20:04:45 +03:00