The future of Linux distributions
Find a file
Mikkel Georgsen 09f89617e7 feat(01-04): create PostgreSQL backup script with 30-day retention
- Add backup-postgres.sh with pg_dump custom format (-Fc)
- Verify backup integrity via pg_restore --list
- Compress backups with gzip for storage efficiency
- Delete backups older than 30 days (configurable via RETENTION_DAYS)
- Weekly restore test on Mondays to validate backup usability
- Add cron configuration for daily 2 AM backups
- Add .gitignore for pycache, env files, and backup files
2026-01-25 20:19:17 +00:00
.planning docs(01-02): complete PostgreSQL database setup plan 2026-01-25 20:13:14 +00:00
backend feat(01-05): add systemd-nspawn sandbox for isolated ISO builds 2026-01-25 20:19:02 +00:00
docs Upload files to "docs" 2026-01-25 01:32:49 +00:00
scripts feat(01-04): create PostgreSQL backup script with 30-day retention 2026-01-25 20:19:17 +00:00
.env.example feat(01-02): set up PostgreSQL with Docker and async session factory 2026-01-25 20:10:18 +00:00
.gitignore feat(01-04): create PostgreSQL backup script with 30-day retention 2026-01-25 20:19:17 +00:00
Caddyfile feat(01-04): configure Caddy reverse proxy with HTTPS 2026-01-25 20:18:02 +00:00
docker-compose.yml feat(01-04): configure Caddy reverse proxy with HTTPS 2026-01-25 20:18:02 +00:00
pyproject.toml feat(01-01): initialize Python project with uv and dependencies 2026-01-25 20:08:14 +00:00
README.md feat(01-01): initialize Python project with uv and dependencies 2026-01-25 20:08:14 +00:00

Debate Backend

Backend API for the Debate Linux distribution builder platform.

Development

# Create virtual environment
uv venv

# Activate
source .venv/bin/activate

# Install dependencies
uv pip install -e ".[dev]"

# Run development server
uvicorn backend.app.main:app --reload