Sunday, June 21, 2009

Move an account to another server?(Applicable for Cpanel server only)

1: check for the username of the account.

# cat /etc/userdomains | grep domain.com

2: Take the backup of that account:

# /scripts/pkgacct

3: Make this backup file available for download:

# cp cpmove-username.tar.gz /usr/local/apache/htdocs/

4: Download it under /home directory on new server:

# wget http://oldserver’s IPaddress/cpmove-username.tar.gz

5. You can restore it with a using following script.

# /scripts/restorepkg

This will restore your account on new server as it was old server, just make sure the version of php, mysql and format of mailbox on both server.

0 comments:

Post a Comment

  © Blogger template PingooIgloo by Ourblogtemplates.com 2009

Back to TOP