Transfering a Huge cPanel Account from One to Another
Hello Guys,
Just yesterday I've moved my sites, except one which is over 300 GB large, to another server. I"ve intentionally left the large one out and tried to transfer it separately. Both servers are obviously cPanel (WHM 11.40.1 to be precise) but the transfer got stuck or timed out using "Copy Multiple Accounts/Packages from another Server"
I"ve read threads here which are way too old, so my question is hove should I go about doing the transfer? Be aware I"m a noob and I need specifics (:
Thank You,
yavuz
-
Hello :) You should package the account manually on the source server via: /scripts/pkgacct $username
Next, upload the archive to the destination server via SCP or SFTP. You can then restore it on the destination server via:/scripts/restorepkg $username
Note: Make sure you have sufficient free space on the source/destination server. Thank you.0 -
Thank you Michael, I'll do that and get back with the results here. 0 -
After many hours the backup got created. I tried the SCP command but got this: /home$ scp cpmove-user.tar.gz user@domain.com:/home/user/public_html/folder/ Host key verification failed. lost connection 0 -
Just open an FTP connection from one server to another and mput the file. Make sure you are in the correct directory on the local machine, then "ftp IPADDRESS" then issue "cd" and "ls" as necessary to get to the right directory and then "mput FILENAME" to push the file(s). You'll probably need to issue the command "passive" to turn off PASV transfers. 0 -
[quote="laztrix, post: 1538332">After many hours the backup got created. I tried the SCP command but got this: /home$ scp cpmove-user.tar.gz user@domain.com:/home/user/public_html/folder/ Host key verification failed. lost connection
Ensure you use key authentication with SCP if you normally have to use a key with accessing the server as "root" via SSH. Thank you.0 -
It will be easier to create a cpbackup like this: /scripts/pkgacct --skiphomedir $username once you've restored it, you can rsync the contents of public_html 0
Please sign in to leave a comment.
Comments
6 comments