3d9f4c1cf4
Changes to modules/backup/mysql-restore-to-sql.sh: Multi-Control Panel Support: - Source system-detect.sh to detect control panel - Use SYS_USER_HOME_BASE for restore directory paths - cPanel/InterWorx/Standalone: /home - Plesk: /var/www/vhosts - Fixes issue where InterWorx/Plesk don't have /home directories SQL Output Location Fix: - Changed output from current working directory to restore directory - SQL files now saved to parent of TEMP_DATADIR Example: /home/temp/restore20251210/ (not /root/) - Prevents cluttering control panel system directories - Added print_info showing exact save location before dump Safety Enhancements: - Added check_disk_space() function (validates 2x required space) - Added warn_force_recovery() function (levels 5-6 require risk acknowledgment) - Integrated disk space check before dump creation - Integrated force recovery warnings in step4_configure_options() - Added cleanup trap handler for Ctrl+C/interruption - Critical safety check prevents using /var/lib/mysql as restore dir Changes to REFDB_FORMAT.txt: - Documented multi-control panel support - Added control_panel_paths section with all 4 panel paths - Updated output location documentation - Added safety features documentation - Updated features list QA Status: ✅ PASSED - 0 CRITICAL issues - 0 HIGH issues - Syntax validated - All safety checks functional 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>