Free OpenPanel module to import cPanel backup in OpenPanel
Maintained by CodeWithJuber
Currently suported for import:
├─ DOMAINS:
│ ├─ Primary domain, Addons, Aliases and Subdomains
│ ├─ SSL certificates
│ └─ DNS zones
├─ WEBSITES:
│ └─ WordPress instalations from WPToolkit & Softaculous
├─ DATABASES:
│ ├─ Remote access to MySQL
│ └─ MySQL databases, users and grants
├─ PHP:
│ └─ Installed version from Cloudlinux PHP Selector
├─ FILES
├─ CRONS
└─ ACCOUNT
├─ Notification preferences
├─ cPanel account creation date
└─ cPanel account password
***emails, ftp, nodejs/python, postgres are not yet supported***
Run the script with sudo privileges:
git clone https://github.com/stefanpejcic/cPanel-to-OpenPanel
bash cPanel-to-OpenPanel/cp-import.sh --backup-location /path/to/cpanel_backup.file --plan-name "default_plan_nginx"
--backup-location
: Path to the cPanel backup file (required)--plan-name
: Name of the hosting plan in OpenPanel (required)--dry-run
: extract archive and display data without actually importing account (optional)
- This script should be run on the OpenPanel server where you want to import the cPanel backup.
- The script requires internet access to install dependencies if they are not already present.
- Large backups may take a considerable amount of time to process.
- Some manual configuration may be required after the migration, depending on the complexity of the cPanel account.
If you encounter any issues:
- Check the script's output for error messages.
- Verify that all prerequisites are met.
- Ensure you have sufficient disk space and system resources.
- Check the OpenPanel logs for any additional error information.
Contributions to improve the script are welcome. Please feel free to submit issues or pull requests.
This script is provided as-is, without any guarantees. Always test thoroughly in a non-production environment before using in production.