Urgent help needed: can't transfer accounts via WHM or SSH

pingo

Well-Known Member
Nov 16, 2002
428
0
166
I need to transfer some accounts to another server, but it doesn't work. I have no problems transferring accounts from the same source server to another destination server. When I choose the multiple account copy function in WHM the screen with 'Account List from apollo.hostingapi.com' appears as usuall, but then nothing more happens - packages and accounts from the source server isn't shown. I then tried copying the accounts via SSH but with no success. After wget it stops or freezes I don't know. Nothing happens.

A cpanel tech asked if root SSH were disabled on the souce server, but if this is the reason why am I then able to transfer accounts to other servers from the same source server? - How do I check if SSH is disabled, or does anyone here know a solution for this problem?

Thanks
John

cPanel Support Ticket: 38564
 

PbG

Well-Known Member
Mar 11, 2003
249
0
166
First on the server that the account is on now, use the following command to package the account:

/scripts/pkgacct USERNAME

Change USERNAME to the username that you want packaged. This will save all the user files, email accounts, MySQL databases etc. into one .tar.gz file. This process make take some time depending on how big the site is.

The file generated from the command above will be locate at:

/home/cpmove-USERNAME.tar.gz

You now have to move this file


SSH from new server to old server

scp -r [email protected]:/dirpath /

SSH from old server to new server

scp -r /dirpath [email protected]:/targetdir


Let me know if this helps . . .
 

pingo

Well-Known Member
Nov 16, 2002
428
0
166
Thanks for the response, but the problem were that ev1servers (where the source server were) had blocked the server IP of the destination server, As soon as they unblocked the IP transfer via both WHM and SSH worked again.

John