4 Commits

Author SHA1 Message Date
1c72bf5e64 Add comprehensive unit tests for ETA estimator
- 12 test functions covering all estimator functionality
- Tests for progress tracking, time calculations, formatting
- Tests for edge cases (zero items, no progress, etc.)
- All tests passing (12/12)
2025-11-07 13:46:55 +00:00
b3ac5a18df Add ETA estimation to cluster backup/restore operations
- Created internal/progress/estimator.go with ETAEstimator component
- Tracks elapsed time and estimates remaining time based on progress
- Enhanced Spinner and LineByLine indicators to display ETA info
- Integrated into BackupCluster and RestoreCluster functions
- Display format: 'Operation | X/Y (Z%) | Elapsed: Xm | ETA: ~Ym remaining'
- Preserves spinner animation while showing progress/time estimates
- Quick Win approach: no historical data storage, just current operation tracking
2025-11-07 13:28:11 +00:00
a5560fd6b1 fix: NullIndicator for truly silent TUI mode - no stdout at all 2025-11-05 13:55:41 +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