Auto import cPanel sites to CyberPanel
v1.8.5 and aboves provides you with utility to automatically import cPanel accounts to CyberPanel. To use this feature you need to download/upload backups to your server in any location such as /home/backup.
Once backups are downloaded execute this command to restore them:
/usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/cPanelImporter.py --path /path/to/files
This is not the path of a certain backup file, it is a path of folder which contain cPanel .tar.gz files. All cPanel backups files will be restored found in the given path.
Debugging restore issues
When you start the restore action, first thing it will do is output the log file. Now if something goes wrong you can use that file to see what have gone wrong.
cat /log/file | grep Failed
Then you can share your results with us on CyberPanel forums.