Q & A

  • GNULinux
  • 2 years ago

You can migrate cPanel Linux Account from one server to another with the help of following command as root user.

 

Source Server

#grep Domain-Name /etc/userdomains
#/scripts/pkgacct Username
#mv /home/cpmove-Username.tar.gz /usr/local/apache/htdocs/ Or
#mv /home/cpmove-Username.tar.gz /home/Username/public_html/
#chmod 644 /usr/local/apache/htdocs/cpmove-Username.tar.gz Or
#chmod 644 /home/Username/public_html/cpmove-Username.tar.gz

Destination Server

#cd /home
#wget http://Server-Hostname/cpmove-Username.tar.gz Or
#wget http://Domain-Name/cpmove-Username.tar.gz
#/scripts/restorepkg Username

Note: Domain-Name is the domain which you want to migrate. Username is the user under which account is hosted. And Server-Hostname is the host name of the server.