How to Transfer account on cPanel Server –

How to Transfer account on cPanel Server –

Introduction – Many times System Admin want to transfer cPanel user account (domain) from one cPanel server to other cPanel Server. cPanel allows to do account transfer via WHM as follows… (you should have  root access to both server).

step(1) Login to WHM
step(2) then Main menu >> Transfers >> Copy multiple accounts/packages from another server

Here you need to provide the old server IP, SSH port, and root password.

That’s it!. your account will be transfer to new server…

If the above method fails due to some or other reason, you can transfer accounts manually as follows….

step(1) Take backup of the accounts using the following script –

root@arunbagul:~# /scripts/pkgacct  <account username>

This will create a backup file under /home with name cpmove-<username>.tar.gz

for example –

root@arunbagul:~# /scripts/pkgacct indgnu

….
root@arunbagul:~#

root@arunbagul:~#  ls /home/cpmove-indgnu.tar.gz

step(2) Copy(use scp) this file into the new target server where you want to migrate your account –

root@arunbagul:~# scp /home/cpmove-<username>.tar.gz root@<new server ip>:/home/
….
……
root@arunbagul:~#

step(3) Restore accounts using the following script (on new target server) –

root@arunbagul:~# /scripts/restorepkg <account username>

NOTE:- Make  sure that the account on old server is disabled or removed/suspended!!

Cheers,
Arun  Bagul

Similar Posts:

Leave a Reply

Your email address will not be published.