Menu

Nightly Postgres backups for audit: gzip, private object storage, signed restore links
πŸ“°

Nightly Postgres backups for audit: gzip, private object storage, signed restore links

DEV Community: postgresΒ·TobiasHawkins9231Β·16 days ago
#D4C7Wcv1
#devtopostgresql#devto#dev#object#dump
Long article (2650 words) β€” no AI summary yet.
Reading 0:00
15s threshold

For a healthtech service that processes receipts and has to keep every original file for audit, the backup path worth signing off on is deliberately boring: pg_dump to plain SQL, pipe it through gzip, upload the file to a private S3-compatible bucket under a key that is never reused, and use a signed GET URL only when a named admin has to pull one back. Nothing public. Nothing that outlives the person who asked for it.

The deciding constraint is access control, not delivery convenience. A dump of a receipts database is a full copy of the production record β€” member identifiers, amounts, the storage keys of the original scans β€” so every shortcut that makes delivery easier widens the blast radius of one leaked string.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.