There was a problem loading the comments.

How to migrate a VPS from cPanel to DirectAdmin

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

This Guide will cover the steps to migrate from cPanel to Direct Admin, and applies to both VPS and Dedicated Server.

  1. In order to follow this guide, you will need to have ssh root access to both the source (cPanel) and the destination (Directadmin) servers.

  2. Login to the source server using ssh.

    Create a backup of all cPanel accounts on cPanel server and place them to /home/all_backups (make sure you have enough of space for them)

    mkdir -p /home/all_backups
    for user in `ls /var/cpanel/users/`; do { /scripts/pkgacct ${user} /home/all_backups; }; done
  3. Copy the backup files to the Direct Admin Server

    rsync -avP  /home/all_backups/ root@your_directadmin_server:/home/admin/all_backups/


    We're done with cPanel server now. You may connect to DirectAdmin server now for the remaining steps

  4. Now that you have the cpmove-(name).tar.gz files present in the /home/admin/all_backups folder, login to the Direct admin control panel and navigate to > Admin Tools > Admin Backup/Transfer.

    Open Restore Backup > Make sure the path is correct and Proceed (Next Step)

    96bb64e4f3a76ee4fcfbeb2617177be5e2a05b5ba2a1bdb6a964ce73e974ae063c1b446be36ee9e5?t=203d4ba9453969537f926cbf81109c2a

    Step 2, Select Use the IP > From the list and select an IP that is bound to your Direct Admin Server.

    0e9c05a0d7888d96bed28f8cc36f51f50a0b7d2d8daf81d0d6cc91203ce02009481d14b6913c462e?t=b3322394694aab91305e01797eca3057

    Step 3, Select the Backup file you wish to import and which "reseller" you want this imported too and proceed.

    24967f7b1bbdb9beec2d813c2d5556783fbc49af51e8ccc0aed30d75ea1c7e84b6bdf351ecc3f3de?t=bd117e46268b12f69f1bfe4d72f335b8

    You can monitor the process in the GUI or using the terminal, the process can take some time depending on the size of the backup and the speed of the storage.

    a89c8d73e4bd00348bab3a2ed5329fd71ee73c030c03a707e29ac5f81e0cd464802bb046e38624f1?t=c43eb5840df7e9ce5ad5a50dfa9c5433

    58c2ccf4e28e4ff53c9c01ddc6dca854736fefc650b77a5b8f478bdc6bfa53fd672e1b6fd38a6890?t=1b633b82d7a060c14aad5b6178e9383a


  5.  

 

 


Share via
Did you find this article useful?  

Related Articles

Tags

© Rackzar