AWS
S3-backed backups for Postgres, streamed rather than staged to disk.
In this section
- Backups — the streaming
pg_dump→ S3 flow, and restore
Pieces
backup.py/backup_stream.py— dump Postgres, stream straight to S3backup_flow.py— orchestration wrapper (Prefect, matchingwishly's backend)restore.py— pulls a backup back down and replays it
Credentials and the DB connection string come from Infisical, not env vars checked into the repo.