Cara cloning configurasi cpanel/whm dari server lama ke server baru

Copy semua file yg ada di folder berikut
Code:
/var/cpanel/easy/apache/custom_opt_mods/
/var/cpanel/easy/apache/prefs.yaml
/var/cpanel/easy/apache/profile/
/var/cpanel/easy/apache/rawenv/
/var/cpanel/easy/apache/rawopts/
/var/cpanel/easy/apache/state.yaml
/var/cpanel/cpanel.config
/var/cpanel/features/
/var/cpanel/zonetemplates/
/etc/exim.conf.local
/etc/exim.conf.localopts
Copy file yg ada di directory diatas dengan membuat backup ke root dengan command berikut

Code:
mkdir /root/backup
cp -R /var/cpanel/easy/apache/custom_opt_mods/ /root/backup
cp -R /var/cpanel/easy/apache/prefs.yaml /root/backup
cp -R /var/cpanel/easy/apache/profile/ /root/backup
cp -R /var/cpanel/easy/apache/rawenv/ /root/backup
cp -R /var/cpanel/easy/apache/rawopts/ /root/backup
cp -R /var/cpanel/easy/apache/state.yaml /root/backup
cp -R /var/cpanel/cpanel.config /root/backup
cp -R /var/cpanel/templates/apache2/ /root/backup
cp -R /var/cpanel/features/ /root/backup
cp -R /var/cpanel/zonetemplates/ /root/backup
cp -R /etc/exim.conf.local /root/backup
cp -R /etc/exim.conf.localopts
Setelah proses copy selesai, copy folder backup tadi ke pc dulu atau langsung copy ke server baru.

Habis itu Run ulang EasyApache, restart exim, dan restart cPanel di server baru tadi

Finish