11.1 Auto import cPanel sites to CyberPanel
You are here:
< All Topics
CyberPanel 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:
[[email protected]]$
/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.
[[email protected]]$
cat /log/file | grep Failed
Tags: