Problems moving large cpanel account - pkgacct also failing


Well-Known Member
Nov 30, 2008
Large account approx 17Gb... After failing to copy this using WHM, any method I tried... I thought I would try to do it from the shell...

/scripts/pckacct xxxxnet gives this:

pkgacct started.
pkgacct version 10 - user : xxxxnet - tarball: 1 - target mysql : default - split: 0 - incremental: 0 - homedir: 1 - archive version: 3 - running with uid 0
pkgacct working dir : /home/cpmove-xxxxnet
Copying Reseller Config...Done
Copying Suspension Info (if needed)...Done
Copying SSL Certificates, CSRS, and Keys...Done
Copying Domain Keys....Done
Copying Counter Data....Done
Copying Bandwidth
Copying Dns
Copying Mail files....Done
Copying frontpage files....Done
Copying proftpd file....Done
Copying www logs.......log file sizes [4716377 byte(s)]
Copy userdata...Done
Copy custom virtualhost templates...Done
Copying mailman lists and archives..../bin/gtar: attachments/20101117/adf0cced/attachment.html: Cannot utime: No such file or directory
/bin/gtar: attachments/20101117/facb6f99/attachment-0001.html: Cannot utime: No such file or directory <<--- then a hundred similar lines
/bin/gtar: attachments/20101103/b104b98a/attachment.html: Cannot open: No such file or directory <<--- then thousands of similar lines
/bin/gtar: Error exit delayed from previous errors
Destination does not exist (/home/cpmove-xxxxsnet/mma/pub/, creating.
Unable to create destination directory (/home/cpmove-xxxxsnet/mma/pub/ Failing.

Any clues?


Well-Known Member
Feb 17, 2002
Omaha, NE
cPanel Access Level
Root Administrator
Have you verified that you have enough space on the hard drive to handle the files? You not only have to have the exist 17GB, but a temporary storage for another 17GB while it creates a new TAR file of 10-12GB. So you need quite a bit of space available.

Also, check your version of TAR and make sure you're running the latest version. There was an issue late last year with version 1.24-1 which may be related.


Well-Known Member
Mar 6, 2008
Southfield, MI
cPanel Access Level
DataCenter Provider
When packaging an account that large, try using the --skiphomedir flag, and then restore the account on the second server.
That will copy all the account settings and everything but the /home/username directory.

Then, use rsync in screen to copy the /home/username directory and its contents. You should be all set after the rsync finishes.


Well-Known Member
Nov 30, 2008
Hi. I think the problem here is that the vast majority of the space used by the account is mailman (15Gb)... the server has 60G+ free on /home, but the root partition / only has about 5Gb free, so --skiphomedir probably isn't going to help... is there a way to specify the temporary path for this single operation?


Quality Assurance Analyst
Staff member
Oct 2, 2010
somewhere over the rainbow
cPanel Access Level
Root Administrator
Could you simply move the mailman archives out of the way for the user?

cd /usr/local/cpanel/3rdparty/mailman/archives/private
mv /home
mv /home
After the account has been packaged and moved over, you could then simply try to manually copy over the archives to the new machine with scp.