The future of Linux distributions
- 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 |
||
|---|---|---|
| .planning | ||
| backend | ||
| docs | ||
| scripts | ||
| .env.example | ||
| .gitignore | ||
| Caddyfile | ||
| docker-compose.yml | ||
| pyproject.toml | ||
| README.md | ||
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