Skip to main content

Transfer cPanel account to new server with low storage space

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! Since you're able to perform the migration, it sounds like you have root access to both systems, correct? If so, I would do the following to get this working: Make a backup on the Source machine with this command: /scripts/pkgacct --skiphomedir username
    This will create a pkgacct file on the source machine that doesn't include the data inside /home/username, which should save you a large amount of space, as the majority of the disk usage is likely to be email and user files. Once you have that pkgacct file created you can move that over to the new Destination machine and restore the account. After the restore is complete you can use rsync to sync the data from /home/username between the two systems. Can you try that and see if that gets you good results?
    0
  • DavidRMF
    Thanks for the reply. I did have root access on the target new server, but not on the source shared old server. Past tense used, since the whole migration has been scrapped for the time being, so until further notice this won't be happening and I no longer have access to the target server. I will keep your recommendation in mind, for when this needs to be attempted again.
    0
  • cPRex Jurassic Moderator
    Thanks for the details. For any fancy operations like that you would need root access on the source side as well to make the custom pkgacct file. If you need help in the future, you know where we're at :D
    0

Please sign in to leave a comment.