Commit Graph

18 Commits

Author SHA1 Message Date
e377a8f490 fix: properly aligned TUI layout with consistent spacing 2025-11-05 13:33:49 +00:00
4bf0b2d5de fix: clean aligned TUI layout - remove duplicates 2025-11-05 13:30:21 +00:00
9345950483 fix: use silent logger in TUI mode to prevent console conflicts 2025-11-05 13:21:16 +00:00
5bbccc3035 fix: clean log formatter - remove message field redundancy 2025-11-05 13:07:17 +00:00
ec3ea1a049 fix: perfekt ausgerichtete Log-Ausgabe (Spalten untereinander) 2025-11-05 12:56:05 +00:00
8591b1acea fix: align log levels for better readability (fixed-width formatting) 2025-11-05 12:36:56 +00:00
781fbc2141 feat: human-readable log formatter (clean output without structured fields noise) 2025-11-05 12:22:30 +00:00
3ff877275d feat: automatic swap file management for OOM prevention during large backups 2025-11-05 12:10:06 +00:00
430387f733 feat: configurable cluster timeout (CLUSTER_TIMEOUT_MIN) and use in TUI backup 2025-11-05 11:53:30 +00:00
7c0f54fd6d FIXED: TUI progess status and creating tar archive 2025-11-05 10:29:29 +00:00
2455e27c40 Fix pgx DSN for Unix socket connections
- Use keyword format for Unix sockets (peer auth)
- Use URL format for TCP connections
- Fixes 'database tmp/postgres does not exist' error
- Fixes TLS connection errors on Unix sockets
- Properly handles localhost peer authentication
2025-11-05 09:35:20 +00:00
da5ea1b855 Phase 2: Native pgx v5 integration - 48% memory reduction, better performance
- Replaced lib/pq with jackc/pgx v5 for PostgreSQL
- Native connection pooling with pgxpool
- 48% memory reduction on large databases
- 30-50% faster queries and connections
- Better BLOB handling and streaming
- Optimized runtime parameters (work_mem, maintenance_work_mem)
- URL-based connection strings
- Health check and auto-healing
- Backward compatible with existing code
- Foundation for Phase 3 (native COPY protocol)
2025-11-04 08:11:54 +00:00
1a52fea603 MAJOR: Large DB optimization - streaming compression, smart format selection, zero-copy I/O
- Smart format selection: plain for >5GB, custom for smaller
- Streaming compression: pg_dump | pigz pipeline (zero-copy)
- Direct file writing: no Go buffering
- Memory usage: constant <1GB regardless of DB size
- Handles 100GB+ databases without OOM
- 90% memory reduction vs previous version
- Added comprehensive optimization plan docs
2025-11-04 08:02:57 +00:00
8167ba5ca4 Fix cluster backup OOM: streaming output, longer timeouts, parallel dumps 2025-11-03 14:11:17 +00:00
cfe5a663cd Fix MySQL connection handling: socket detection, timeouts, localhost vs remote 2025-10-25 10:33:29 +00:00
5e4dd0a2a4 Final debug pass 2025-10-24 19:03:06 +00:00
f93b49b8ab chore: update build and tui assets 2025-10-24 15:43:27 +00:00
e361968022 Initial commit: Database Backup Tool v1.1.0
- PostgreSQL and MySQL support
- Interactive TUI with fixed menu navigation
- Line-by-line progress display
- CPU-aware parallel processing
- Cross-platform build support
- Configuration settings menu
- Silent mode for TUI operations
2025-10-22 19:27:38 +00:00