0
  Login

Cara Migrasi Directadmin ke CPanel

Berikut adalah catatan mengenai bagaimana cara migrasi data user dari directadmin ke cpanel:

1. Download dulu toolnya

wget http://httpupdate.cpanel.net/cpanelsync/transfers_DEVEL/pkgacct/updateuserdomains-universal
wget http://httpupdate.cpanel.net/cpanelsync/transfers_DEVEL/pkgacct/pkgacct-da

dan berikan hak akses executable pada file tadi

chmod +x updateuserdomains-universal
chmod +x pkgacct-da

Kemudian jalankan perintah berikut guna mendaptkan semua daftar user directadmin yang bisa atau akan di convert datanya ke format cpanel. Hasilnya berlokasi di /etc/trueuserdomains

./updateuserdomains-universal

2. Membuat backupan ke format CPanel (Contoh menggunakan user: tesbeni)

./pkgacct-da tesbeni

Hasil backupan dengan format CPanel nanti berada pada /home/cpmove-tesbeni.tar.gz

3. Lakukan pengiriman data hasil backupan ke server CPanel

scp -r -P 1589 /home/cpmove-tesbeni.tar.gz root@69.30.xx.xxx:/home/

4. Restore akun

Restore account harus menggunakan perintah dibawah ini, jangan menggunakan menu Restore a Full Backup/cpmove File

cd /home
/scripts/restorepkg cpmove-tesbeni.tar.gz

Catatan Error:

Jika saat melakukan backup ditemukan error sebagai berikut:

[root@server22ti da_to_cpanel]# ./pkgacct-da tesbeni
 Can't locate Digest/MD5.pm in @INC (@INC contains: /tmp/idz6r0NpoV/lib /tmp/idz6r0NpoV/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /tmp/idz6r0NpoV/lib/Cpanel/Pkgacct/Archive/Writer.pm line 12.
 BEGIN failed--compilation aborted at /tmp/idz6r0NpoV/lib/Cpanel/Pkgacct/Archive/Writer.pm line 12.
 Compilation failed in require at /tmp/idz6r0NpoV/lib/Cpanel/Pkgacct/Archive.pm line 37.
 BEGIN failed--compilation aborted at /tmp/idz6r0NpoV/lib/Cpanel/Pkgacct/Archive.pm line 37.
 Compilation failed in require at /tmp/idz6r0NpoV/scripts/main.pl line 28.
 BEGIN failed--compilation aborted at /tmp/idz6r0NpoV/scripts/main.pl line 28.
 [root@server22ti da_to_cpanel]#

Solusinya adalah

yum install perl-Digest-MD5 -y

Demikian informasi ini, semoga bermanfaat.

 

Sumber:

https://bobcares.com/blog/directadmin-to-cpanel-migration/
https://www.snel.com/support/migration-guide-from-directadmin-or-plesk-to-cpanel/

 

About the Author

Leave a Reply

Netid.co.id | IT Solution and Web Hosting Provider | Term Of Service | Facebook Page Support | Careers | Program Kerjasama