feat: Enhanced remote transfer system with intelligent disk space management#1604
Open
hienhoceo-dpsmedia wants to merge 1 commit intousmannasir:stablefrom
Open
Conversation
…agement - Add three transfer modes: sequential, rsync, and parallel - Implement intelligent mode selection based on disk space analysis - Create modern UI with real-time progress tracking and recommendations - Solve critical issue where migration requires 50%+ free disk space - Support low-disk-space scenarios with efficient transfer algorithms - Add comprehensive documentation and API endpoints Key improvements: - Sequential mode: process websites one-by-one with cleanup - Rsync mode: direct synchronization with minimal space usage - Smart recommendations based on available disk space - Enhanced user interface with visual progress indicators - Backward compatibility with existing migration system 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces a comprehensive enhancement to CyberPanel's migration system that solves the critical issue where remote transfers require 50%+ free disk space. The current system zips all websites simultaneously, making migrations fail on servers with limited disk space.
Problem Statement
Solution Overview
Implemented an intelligent transfer system with three modes based on available disk space:
🔄 Sequential Transfer Mode (Low Space < 50%)
⚡ Rsync Transfer Mode (Very Low Space < 30%)
🚀 Parallel Transfer Mode (High Space > 50%)
Key Features Implemented
🧠 Intelligent Mode Selection
🎨 Enhanced User Interface
📊 Enhanced Monitoring
Files Added
plogical/enhancedRemoteTransfer.py- Core transfer enginebackup/templates/backup/enhancedRemoteTransfer.html- Modern UIbackup/static/backup/enhancedRemoteTransfer.js- Interactive frontendbackup/views/enhancedRemoteTransfer.py- API endpointsbackup/urls/enhancedRemoteTransfer.py- URL routingdocs/ENHANCED_REMOTE_TRANSFER.md- Complete documentationbackup/requirements_enhanced.txt- DependenciesBackward Compatibility
Benefits
This enhancement makes CyberPanel migrations accessible to users with any disk space availability while maintaining the excellent performance for high-resource servers.
🤖 Generated with Claude Code