Move Disk Space Analyzer to Performance Analysis menu

The Disk Space Analyzer is a performance/system health tool, not a
backup tool. Moving it to the Performance Analysis menu makes more
logical sense for users looking for system diagnostics.

Changes:
- Removed from Backup & Recovery → Maintenance section (was option 4)
- Added to Performance Analysis → System Health section (option 6)
- Updated both show_performance_menu() and handle_performance_menu()
- Removed from show_backup_menu() and handle_backup_menu()

New Location:
Main Menu → 4) Performance Analysis → 6) Disk Space Analyzer

This groups it with other system health tools like:
- Loadwatch Health Analyzer
- Hardware Health Check
- Network & Bandwidth analysis

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
cschantz
2025-12-17 19:28:02 -05:00
parent 2ef3561e02
commit b96b4e2f5c
+2 -2
View File
@@ -239,6 +239,7 @@ show_performance_menu() {
echo -e "${BOLD}System Health:${NC}"
echo ""
echo -e " ${MAGENTA}5)${NC} 📊 Loadwatch Health Analyzer - Historical system analysis"
echo -e " ${MAGENTA}6)${NC} 💿 Disk Space Analyzer - Find space issues & cleanup files"
echo ""
echo -e " ${RED}0)${NC} Back to Main Menu"
echo ""
@@ -257,6 +258,7 @@ handle_performance_menu() {
3) run_module "performance" "hardware-health-check.sh" ;;
4) run_module "performance" "php-optimizer.sh" ;;
5) handle_loadwatch_analyzer ;;
6) run_module "maintenance" "disk-space-analyzer.sh" ;;
0) return ;;
*) echo -e "${RED}Invalid option${NC}"; sleep 1 ;;
esac
@@ -312,7 +314,6 @@ show_backup_menu() {
echo -e "${BOLD}Maintenance:${NC}"
echo ""
echo -e " ${RED}3)${NC} 🗑️ Cleanup Toolkit Data - Remove IP reputation & temp files"
echo -e " ${CYAN}4)${NC} 💿 Disk Space Analyzer - Find space issues & cleanup files"
echo ""
echo -e " ${RED}0)${NC} Back to Main Menu"
echo ""
@@ -360,7 +361,6 @@ handle_backup_menu() {
1) handle_acronis_menu ;;
2) run_module "backup" "mysql-restore-to-sql.sh" ;;
3) run_module "maintenance" "cleanup-toolkit-data.sh" ;;
4) run_module "maintenance" "disk-space-analyzer.sh" ;;
0) return ;;
*) echo -e "${RED}Invalid option${NC}"; sleep 1 ;;
esac