-
-
Notifications
You must be signed in to change notification settings - Fork 8
[Infrastructure] Backup: errors silently swallowed, unencrypted, only 7-day retention #416
Copy link
Copy link
Open
Labels
P1-highStability & reliabilityStability & reliabilityaudit-2026-03From March 2026 codebase auditFrom March 2026 codebase auditreliabilityReliability or availability concernReliability or availability concernservice:infrastructure5stackgg/5stack-panel infrastructure5stackgg/5stack-panel infrastructure
Description
Summary
Database backup system has reliability and security gaps.
Findings
- postgres-backup-cronjob.yaml — multiple || true statements hide failures.
- Same file — pg_dump without encryption, zip without password, S3 without SSE.
- Same file — daily with 7 retained. No weekly/monthly tiers.
Impact
Backups can fail silently. Unencrypted if storage compromised. Only 7-day recovery window.
Suggested Fix
Remove || true from critical ops. Encrypt with GPG. Enable S3 SSE. Add tiered retention. Alert on failure.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1-highStability & reliabilityStability & reliabilityaudit-2026-03From March 2026 codebase auditFrom March 2026 codebase auditreliabilityReliability or availability concernReliability or availability concernservice:infrastructure5stackgg/5stack-panel infrastructure5stackgg/5stack-panel infrastructure
Type
Projects
Status
Backlog