Renz
1421fcb5dd
feat: Week 3 Phase 2 - WAL Compression & Encryption
- Added compression support (gzip with configurable levels)
- Added AES-256-GCM encryption support for WAL files
- Integrated compression/encryption into WAL archiver
- File format: .gz for compressed, .enc for encrypted, .gz.enc for both
- Uses same encryption key infrastructure as backups
- Added --encryption-key-file and --encryption-key-env flags to wal archive
- Fixed cfg.RetentionDays nil pointer issue
New files:
- internal/wal/compression.go (190 lines)
- internal/wal/encryption.go (270 lines)
Modified:
- internal/wal/archiver.go: Integrated compression/encryption pipeline
- cmd/pitr.go: Added encryption key handling and flags
2025-11-26 11:25:40 +00:00
..
2025-11-25 15:25:56 +00:00
2025-11-26 10:30:29 +00:00
2025-11-25 22:29:58 +00:00
2025-11-25 15:25:56 +00:00
2025-11-25 21:31:21 +00:00
2025-11-26 10:49:57 +00:00
2025-11-25 15:25:56 +00:00
2025-11-26 07:44:09 +00:00
2025-11-25 15:25:56 +00:00
2025-11-26 07:25:34 +00:00
2025-11-25 15:25:56 +00:00
2025-11-26 07:54:25 +00:00
2025-11-25 15:25:56 +00:00
2025-11-26 10:30:29 +00:00
2025-11-25 20:30:28 +00:00
2025-11-25 19:18:07 +00:00
2025-11-26 10:30:29 +00:00
2025-11-25 15:25:56 +00:00
2025-11-26 05:25:35 +00:00
2025-11-25 19:18:07 +00:00
2025-11-26 11:25:40 +00:00