Installation
How to to install cptoeenos a.k.a cp2eenos?
The cptoeenos (cp2eenos) tools are fully developed using Python. You can install it on any Linux-compatible server with Python3 installed. Your server needs Python3 version 3.6 or higher to use it.
To install cptoeenos run the following command from the shell:
pip --no-cache-dir install --extra-index-url https://pip.eenos.com/ cptoeenos
You can also use the pip3 command too :
pip3 --no-cache-dir install --extra-index-url https://pip.eenos.com/ cptoeenos
This will install all required packages for cptoeenos. After installing the tools you may use the command cptoeeenos or cp2eenos to start converting.
cptoeenos / cp2eenos command options :
The following command options are available with this tool.
Command(s):
-f, --full Convert all Cpanel accounts and hosting packages
-u user, --user user Convert a single Cpanel user/reseller account
-b backup_file, --backupfile backup_file
Convert a Cpanel backup file( .tar , .tar.gz)
-p, --packages Convert all WHM hosting packages
Backup convert option(s):
--skipmysql Exclude MySQL database(s)
--skippgsql Exclude PgSQL database(s)
--skiphomedir Exclude Homedir
--skipemail Exclude Email accounts
--skipresellerconfig Exclude reseller privileges
Upload Option(s):
-s path_to_store, --saveto path_to_store
A folder location to save the converted backups
Option(s):
-h, --help show this help message and exit
-d, --demon Run convert process as daemon service
-w workdir, --workdir workdir
A folder to generate temporary backup files,
Working directory : Default /root
-pu path_to_script, --postupload path_to_script
A script path name to run after conversion.
You can use a bash script to upload the
converted backups to remote server.
Installing from source
You can install cptoeenos from the source. You may download the installation source from the Cp2Eenos Download Server
The sample command is as follows,
wget -c https://download.eenos.com/tools/cptoeenos/cptoeenos-1.0.0.tar.gz
Now Build the source as follows,
tar -xvzf cptoeenos-1.0.0.tar.gz
cd cptoeenos/
./autobuild.sh
Now install the Python packages as follows,
pip3 install dist/cptoeenos-1.0.0-py3-none-any.whl
This will install the cptoeenso tools.