I moved almost all accounts from one server to an other, everything went smooth.
Then, the last account, around 3GB in size. I tried with and without the option “Do not compress transfers”, connecting to different IP’s, nothing worked, it always stopped at the same place:
Attempting to copy username from source-ipPackaging the account... pkgacct started.pkgacct version 6.0 - running with uid 0 using time::hires for speedups We will be splitting the archive!! Copying Reseller Config...Done Copying SSL Certificates, CSRS, and Keys...Done Copying Counter Data....Done Copying Bandwidth Data.......domain.com......parkeddomain1.com......parkeddomain2.com...Done Copying Dns Zones.......domain.com......parkeddomain1.com......parkeddomain2.com...Done Copying Mail files....Done Copying frontpage files....Done Copying proftpd file....Done Copying www logs............. ............... ............... DoneWarning: file location not sent.. guessing.. this may not work .... Using the single archive method (/home/cpmove-username.tar.gz)! Transfer Error The remote server didn't report a correct md5sum of the archive. Please ensure you selected the correct type of remote server.
How I made the transfer then work manually:
- SSH as root to source (old) server
- Run /scripts/pkgacct username (replace username with the account’s username)
- Make sure the pkgacct finished, it ends with: md5sum is: xxxx, you will have a file called /home/cpmove-username.tar.gz
- scp file to new server: scp /home/cpmove-username.tar.gz root@ip-of-new-server:/home/cpmove-username.tar.gz
- Login to whm on the new server (as root)
- Click on “Restore a Full Backup/cpmove file”
- You will find under “Possible cpmove archives found:”the file you just copied.
- Enter the username after “Enter the username for the account you wish to restore:” and click Restore
- That’s it, you are done.
I’m not really sure why it stopped after the logfiles, it executes the same script when you make the transfer from an other server or when call the script in a shell.