2b868f859c
Add rotating spinner to TUI status for visual progress feedback
2025-11-07 11:20:36 +00:00
07ab4109ec
Fix: Disable stdout progress in TUI mode to prevent display breaking
2025-11-07 10:50:45 +00:00
98fa594f59
Fix: Ctrl+C now works in TUI, improve database creation with peer auth support
2025-11-07 10:35:24 +00:00
07400f2828
fix: skip target database check for cluster restores
...
- Cluster restores restore multiple databases, not a single target
- Database existence check was failing with exit status 2
- Now shows "Will restore all databases from cluster backup" instead
- Removes confusing warning for cluster restore operations
2025-11-07 10:18:39 +00:00
6058971a73
fix: add ctrl+h as alternative backspace key for better terminal compatibility
...
- Some terminals send ctrl+h instead of backspace
- Added ctrl+h handling in settings.go and input.go
- Ensures backspace works in all terminal emulators
2025-11-07 10:04:17 +00:00
87e0ca3b39
feat: implement full restore functionality with TUI integration
...
- Add complete restore engine (internal/restore/)
- RestoreSingle() for single database restore
- RestoreCluster() for full cluster restore
- Archive format detection (7 formats supported)
- Safety validation (integrity, disk space, tools)
- Streaming decompression with pigz support
- Add CLI restore commands (cmd/restore.go)
- restore single: restore single database backup
- restore cluster: restore full cluster backup
- restore list: list available backup archives
- Safety-first design: dry-run by default, --confirm required
- Add TUI restore integration (internal/tui/)
- Archive browser: browse and select backups
- Restore preview: safety checks and confirmation
- Restore execution: real-time progress tracking
- Backup manager: comprehensive archive management
- Features:
- Format auto-detection (.dump, .dump.gz, .sql, .sql.gz, .tar.gz)
- Archive validation before restore
- Disk space verification
- Tool availability checks
- Target database configuration
- Clean-first and create-if-missing options
- Parallel decompression support
- Progress tracking with phases
Phase 1 (Core Functionality) complete and tested
2025-11-07 09:41:44 +00:00
e2596c4207
fix: completely silent TUI - no stdout indicators
2025-11-05 13:47:20 +00:00
07b3c746d4
fix: remove tea.Println causing misaligned status messages
2025-11-05 13:38:34 +00:00
0c626fd047
fix: properly aligned TUI layout with consistent spacing
2025-11-05 13:33:49 +00:00
b44ee26770
fix: clean aligned TUI layout - remove duplicates
2025-11-05 13:30:21 +00:00
063184ddc9
feat: configurable cluster timeout (CLUSTER_TIMEOUT_MIN) and use in TUI backup
2025-11-05 11:53:30 +00:00
2dd41a2b6e
FIXED: TUI progess status and creating tar archive
2025-11-05 10:29:29 +00:00
f014a20b10
Final debug pass
2025-10-24 19:03:06 +00:00
4e281cff01
chore: update build and tui assets
2025-10-24 15:43:27 +00:00
9b3c3f2b1b
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