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-26 10:30:29 +00:00
2025-11-26 10:30:29 +00:00
2025-11-25 20:30:28 +00:00
2025-11-25 19:28:51 +00:00
2025-11-25 15:25:56 +00:00
2025-11-26 07:54:25 +00:00
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 17:33:41 +00:00
2025-11-25 15:25:56 +00:00
2025-11-25 20:30:28 +00:00