Skip to main content

How to Migrate Cpanel to Eenos

Start migration from Cpanel to Eenos

Some sample conversion commands and syntax are given below:

Convert a Cpanel backup file to Eenos Backup file

You can convert a cpanel backup file to Eenos backup file. The cpanel backup file must be a .tar or .tar.gz file.

This operation can be performed  from any server , there is no need for cpanel installed. You only need to cptoeenos tool.

Syntax:

cptoeenos --saveto /path-to-save-converted-backup --backupfile /path-to-cpanel-account-backup-file

Where,

  • /path-to-save-converted-backup , is a folder name to save the converted backup files
  • /path-to-cpanel-account-backup-file,  is the full path to cpanel backup file

Example:

We are going to convert a cpanel backup name backup-10.14.2023_16-20-05_mycpuser.tar.gz and store the converted backup into the folder /backup. The command is as follows:

cp2eenos --saveto /backup --backupfile /home/backup-10.14.2023_16-20-05_mycpuser.tar.gz

This will generate a backup on /backup/eenosbkp-myuser.tar.gz . You may upload this backup file to your  Eenos server and restore it.

To know how to restore a backup in Eenos Control Panel , please check he restoration documentation.

Convert WHM Hosting Packages to Eenos Hosting Packages

The migration of whm hosting packages to Eenos hosting packages are easy. Please use the following command to convert WHM hosting packages.

cptoeenos --saveto /backup --packages

This will convert all you hosting packages from whmcs server and place it into a folder name EenosHostingPackages  inside your save path .

Here the converted package location will be in /backup/EenosHostingPackages

You may now copy or upload  all .yaml files from this folder into /var/eenos/packages/ of your Eenos server

Please make sure to change ownership of all files inside /var/eenos/packages/  will have the eenos user ownerships

chown eenos:eenos /var/eenos/packages/*