Help - Search - Members - Calendar
Full Version: Transfer accounts between servers
The Planet Forums > Control Panels > cPanel/WHM
ricardom
Hello,

I got one problem, today im a reseller with WHM access only (not shell), and i got a dedicated server in Server Matrix, but i have to transfer the accounts to the new server.

Here is my problem:

The admin of the server the im a reseller blocked the whm transfer, so i cant do a transfer using the transfer whm tool in my new dedicated server.

I able to use the backup tool to make a fullbackup of home dir of each account, and transfer direct to my new server, but i dont know how to restore it using some script, using my shell access.

I know that i could use the restore tool in the cpanel of each client, but this takes to much time, as far i have to transfer the backup to my PC and do an upload using this tool.

Does anyone know wich script cpanel use to make this restore task?

Thanks for any help.
Daejuan
This should work,
In the old account backup all of the accounts using the Backup tool in cpanel, then place it in a folder that you can download it from(public_html).
Rename it cpmove-USERNAME.tar.gz

Go to your NEW Server SSH and type in

cd /home
wget http://www.theirdomain.com/cpmove-USERNAME.tar.gz
/scripts/restorepkg USERNAME

*Replace USERNAME with client's Username~
ricardom
Thank you!! icon_smile.gif

It works very fine!

For now i got only one problem: SQL Users, this restore seems that only restore the DB in SQL, and not restore the users in DB. Its normal? What can i do to fix that?

Thanks again for your help!
Daejuan
QUOTE (ricardom)
Thank you!! icon_smile.gif

It works very fine!

For now i got only one problem: SQL Users, this restore seems that only restore the DB in SQL, and not restore the users in DB. Its normal? What can i do to fix that?

Thanks again for your help!


I think it is normal, but I'm not for sure. I have to find a way around that problem. wink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.