Navigation
Home

About Me

Links

Resume

Contact


Search






Categories


Entrepreneurship
Internet


Home Business
Web Hosting


PHP


Music


Jagjit Singh
Mirza Ghalib


Personal
Technology



Archives


July 2011
February 2011
January 2011
December 2010
October 2010
August 2007
November 2006
June 2006
May 2006
April 2006
March 2006
February 2006
November 2005
October 2005
April 2005
December 2004

 

Syndicate this site (XML)

 

Validation

Valid XHTML

Valid CSS

 

Disclaimers

© Manish Singh

 

« Downgrading MySQL from 4.1.X to 4.0.X | Main | PHP Session IDs removal »

May 09, 2006

Transfering huge cPanel account to new server

The cPanel transfer tool in WHM may fail in transfering large accounts (over 2GB). This is a small article explaining how to transfer a large cPanel account from one server to another. We assume the new server also has cPanel control panel installed and that you have root access on both servers.

1. Login into the old server via Shell as root.


2. Backup the account using the following command

/scripts/pkgacct cPanelUserName

Replace cPanelUserName with actual cPanel username of the account.


3. The script will create cPanelUserName.tar.gz file in the /home directory of the old server.


4. Login into the new server via Shell as root


5. Transfer the cPanelUserName.tar.gz file from old server to the new server using rsync.


rsync -ave ssh old-server-hostname:/home/cPanelUserName.tar.gz /home


Replace old-server-hostname with either the old server Main Ip or the hostname. In the above command we are assuming the tar file to be present under /home directory of the old server.


6. Once the transfer is done, we must unpack and install the file as a new account in the new cPanel server. For this type the following command

/scripts/restorepkg cPanelUserName

Verify that the site is working correctly on the new server.

Posted by manish at May 9, 2006 10:58 AM

Comments