How to transfer a cPanel account to DirectAdmin.

The file structure and back-ups for both control panels are entirely different and its quite difficult to restore the files transfered from one to another control panel manually. There is a script available which can convert a cPanel back-up to the format that of a DirectAdmin. The convert process is quite simple.

Download the conversion script from here .

*You can download it using the terminal :

wget -c

*Create two directories import and export :

mkdir import export

*untar the script

tar -xzf da.cpanel.import.9.4.tar.gz

You will get two files and defaults.conf. is conversion script and defaults.conf is the configuration file.

*Copy the cPanel back-up into theĀ import directory.

*Edit defaults.conf to match the DA server IP and nameservers.

*Execute the script to get the back-up converted.


*Back-up could be found inside export directory and you may get it restored.

5 thoughts on “How to transfer a cPanel account to DirectAdmin.

  1. This script seems quite outdated, the newest version of DirectAdmin cannot import the converted tar balls as it looks for /backup/user.conf which does not exist in the converted tarball.

  2. This really saved my life. Thanks a lot. I was thinking of cancelling my DirectAdmin and use Cpanel instead for my Cpanel backups, but not anymore :)

  3. Hi Friends
    I need this perl script, but it seems that the file is removed from mentioned url.
    Do you have the copy of file any where ?
    Please help me

Leave a Reply to ayhan Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>