Friday, March 22, 2013

Cpanel : Manually Migration

There is a scenario where you need to transfer a hosting account which is present on your server to another (new) server, to accomplish this follow the below steps:

Present server:

cd /home

/scripts/pkgacct username
This command will create a file cpmove-username.tar.gz in the /home directory, now this is to be copied to the new server.

scp cpmove-username.tar.gz root@server-IP:/home
This will prompt for the password, you can enter the new server password.

New server:

/scripts/restorepkg username
This will restore the hosting account which includes email, database and the contents

No comments:

Post a Comment