docs: Update README with current TUI menu structure
The interactive menu display was outdated. Updated to match current implementation: - Shows database engine switcher (PostgreSQL/MySQL/MariaDB) - Lists all 13 menu options with separators - Includes new features: Sample backup, Cluster operations, Active operations, History - Matches actual TUI appearance from screenshots
This commit is contained in:
35
README.md
35
README.md
@@ -113,19 +113,28 @@ Menu-driven interface for all operations. Press arrow keys to navigate, Enter to
|
|||||||
|
|
||||||
**Main Menu:**
|
**Main Menu:**
|
||||||
```
|
```
|
||||||
┌─────────────────────────────────────────────┐
|
🗄️ Database Backup Tool - Interactive Menu
|
||||||
│ Database Backup Tool │
|
|
||||||
├─────────────────────────────────────────────┤
|
Target Engine: PostgreSQL | MySQL | MariaDB
|
||||||
│ > Backup Database │
|
Switch with ←/→ or t • Cluster backup requires PostgreSQL
|
||||||
│ Restore Database │
|
Database: root@localhost:5432 (PostgreSQL)
|
||||||
│ List Backups │
|
|
||||||
│ Configuration Settings │
|
> Single Database Backup
|
||||||
│ Exit │
|
Sample Database Backup (with ratio)
|
||||||
├─────────────────────────────────────────────┤
|
Cluster Backup (all databases)
|
||||||
│ Database: postgres@localhost:5432 │
|
─────────────────────────────
|
||||||
│ Type: PostgreSQL │
|
Restore Single Database
|
||||||
│ Backup Dir: /var/lib/pgsql/db_backups │
|
Restore Cluster Backup
|
||||||
└─────────────────────────────────────────────┘
|
List & Manage Backups
|
||||||
|
─────────────────────────────
|
||||||
|
View Active Operations
|
||||||
|
Show Operation History
|
||||||
|
Database Status & Health Check
|
||||||
|
Configuration Settings
|
||||||
|
Clear Operation History
|
||||||
|
Quit
|
||||||
|
|
||||||
|
Press ↑/↓ to navigate • Enter to select • q to quit
|
||||||
```
|
```
|
||||||
|
|
||||||
**Backup Progress:**
|
**Backup Progress:**
|
||||||
|
|||||||
Reference in New Issue
Block a user