cPanel Account transfer process Methods


cPanel Account transfer process Methods


Migrate your cPanel Accounts via WHM

To begin this process, you will need to log into your server as the root user.  There are several cpanel account transfer process methods for transferring the compressed backups we have created.

WHM >> Transfers>> Copy an Account From Another Server

The cPanel Transfer Utility currently supports:
WHM 4.5+
Pre WHM 4.5
Pl*sk
EnXim 3.x and 4.x
D1rectAdm1n
Alab*anza

Complete all the entries and click transfer button.

Another method available to transfer account with an account password.

WHM >> Transfers >> Copy an Account From Another Server With an Account Password

Copy Multiple Accounts and Packages From Another Server

WHM >> Transfers >> Copy Multiple Accounts/Packages from Another Server

Complete Remote Server Information and click fetch account list button. You can select list of account which need to transfer and click copy accounts.

It will take long time process to complete all the account transfer.

Account transfer via Cpanel

If you are moving from a host cPanel account to another cPanel account, please follow these instructions:

Login to your cPanel and click the “Backup” icon.
Click the “Download or Generate a Full Backup” button. This will backup all of your email accounts, files, and MySQL databases.
Leave the drop down on Home Directory and be sure to have a valid email address in the second box. Leave the remaining boxes empty.
Click the “Generate Backup” button and wait for an email confirmation to arrive.

Once backup process completed, Transfer backup file to new server via FTP or get the backup file from NEW server using FTP.

root@NEW[~]#ftp <old cpanel server ip>

login using ftp user and password.

download backup file through get option.

ftp>get backup-3.4.2011_23-46-32_oldcpuser.tar.gz

once download completed, move backup file to /home folder and run this restore command.

root@NEW[~]#/scripts/restorepkg oldcpuser

Thants all, account will be restored.

Cpanel account transfer via server SSH to server

Login your Old server SSH via root user and use these commands.

root@OLD[~]#cd /home
root@OLD[~]#/scripts/pkgacct <cpuser>

Once package account process completed, You can view backup file like cpmove-cpuser.tar.gz

Transfer account to another NEW server using RSYNC or SCP commands.

root@OLD[~]#rsync -avz –progress /home/cpmove-cpuser.tar.gz  root@<newserverip>:/home

User this command if your server have different SSH port.

root@OLD[~]#rsync –progress –stats -avz –rsh=’ssh -p5093′ cpmove-user.tar.gz  root@<newserverip>:/home/

Once transfer completed goto NEW server SSH and restore account.

root@NEW[~]#/scripts/restorepkg oldcpuser

Thats all !!!

Transfer Large size of cpanel account to remote server

Mostly it will be best doing via screen.

Login your old server via root user and goto your home folder. This command will skip on your account home directory (public_html) and compress all other files include database, emails,etc.,

root@OLD[~]#/scripts/pkgacct <cpuser>–skiphomedir

Once backup completed transfer backup file to your remote server and restore vis /scripts/restorepkg <cpuser>. Once these process completed rsync public_html folder from OLD server to NEW server

root@OLD[~]#rsync -avz –progress /home/cpuser/public_html  root@<newserverip>:/home/cpuser

Thants all!!

Restoring an Existent Account Tip

root@c5-2 [~]# /scripts/restorepkg anyuser
Sorry, the user anyuser already exists on this system. If you really want to
do this run /scripts/restorepkg –force anyuser

Simply run these command

/scripts/restorepkg — force anyuser
OR
/scripts/killacct $username
/scripts/restorepkg $username

Other control panel Transfer

Pl*sk to cPanel

>>/scripts/pkgacct-pXa
>>/usr/local/plesk/admin/conf/admin.conf
>>/var/qmail/mailnames
>>/usr/local/psa/qmail/mailnames
>>/usr/local/plesk/qmail/mailnames
>>/usr/local/psa/mysql/var

EnXim to cPanel

>>/scripts/pkgacct-enXim
>>/home/virtual/site#
>>/home/virtual/site#/fst
>>/home/virtual/site1/fst/var/www
>>/var/lib/mysql
>>/$sitedir
>>/home/virtual/site#/fst/var/spool

DA to cPanel

>>/scripts/pkgacct-da
>>/usr/local/directadmin/conf/mysql.conf
>>/etc/virtual
>>/usr/local/directadmin/data/users/$user
>>/usr/local/directadmin/data/users/$user/domains/
>>/etc/virtual/$domain/aliases

OTHER to cPanel

>>/scripts/pkgacct-ala
>>/etc/mail/mailertable
>>/usr/local/mysql/data
>>/scripts/pkgcct-dXm
>>/etc/dsm.domainmap
>>/var/db/dsm/conf/domainmap

Shell script to backup all accounts
!#/bin/bash
for i in `ls /var/cpanel/users`
do
/scripts/pkgacct $i
done

Restore all accounts

Move cpbackups to /home folder and user list in /root/userlist which need to restore.

!#/bin/bash
for i in `cat /root/userlist`
do
/scripts/restorepkg $i
done
Bu cevap yeterince yardımcı oldu mu?

Diğer Dökümanlar


  • cPanel security settings checklist

    You always use cpanel recommended Security Settings to avoid hacking and other suspicious activity. These  cPanel Server Hardening & Security tips will help prevent from hacking. cPanel...

  • sendmail Not running with correct effective GID

    Wed Sep 04 04:11:11 2014] [error] [client 11.44.33.22] sendmail: Not running with correct effective GID.  Is sendmail binary setgid mailtrap?, It may be the problem with your sendmail binary...

  • How to enable NAT behind the cpanel ?

    Most of webhosting providers currently used NAT service for their users. When you install cPanel & WHM, the installer will detect whether your server is on a NAT-configured network. If the...

  • Unable to allocate memory for pool

    Warning: Unknown: Unable to allocate memory for pool. in Unknown on line 0 APC or Alternative PHP Cache (APC) is a free and open opcode cache for PHP. APC allows for caching of opcode generated...

  • Install FFmpeg, Mplayer, Mencoder, MP4Box, Flvtool2

    You can use the following tutorial to install ffmpeg and other video modules in your centos server. FFmpeg is an audio/video conversion tool. It includes libavcodec, the leading open source codec...