Skip to main content

Difference between account transfers as user and root

Comments

6 comments

  • server9host
    Hello, Using two way you can transfer your account from one server to another server. 1) Using cPanel account user : In this you need to generate full backup of your cpanel account and download it. After that you need to upload it to another server. In this method you need to create account on another server then need to upload files manually. If you have root access then you can upload backup file directly to new server and restore that account using below command : /scripts/restorepkg path of backupfilename
    2) Using Root : In this process using transfer tool you can easily transfer the your cpanel directly to another server with all credential . Using root level transfer is easy and best option to transfer the site.
    0
  • inveress
    [quote="server9host, post: 1727641"> 1) Using cPanel account user : In this you need to generate full backup of your cpanel account and download it. After that you need to upload it to another server.
    Hi, Thanks for your reply. I may be misunderstanding you but I have often transferred accounts directly from source server to destination server using the "Copy an account from another server with an account password" function, without needing to download and then upload a full backup. Also, I was really wanting to know whether there was any difference in the end result, rather than a difference in the method. For example, does a root-level copy include additional files? My assumption would have been that the two were the same as far as content goes. Thanks, Peter.
    0
  • server9host
    Hello, You can transfer your cpanel account using rsync or scp command from one server to another server using server SSH access.
    0
  • matthers
    The Copy an Account from Another Server with Account Password uses the cPanel API to generate a fullbackup, transfer it to the new server and restore it. (source: WHM : This feature uses the cPanel API to generate a backup of the account and transfer it to the server for restoration. ) When using root, the transfers is done mostly by streaming data. Also, root user has less limits that can apply to it. Imagine transferring an account that has 20-40 GB . Generating a fullbackup takes time and resources on both servers. Pack->Transfer->Unpack . Streaming is much less time and resource consuming . If root is not available, i recommend generating a fullbackup manually, transfer it and the manually restore it. The API might crash or not work correctly . Also, the documentation (
    0
  • cPanelMichael
    Hello :) The end-result should be the same, but using the account password for the transfer can sometimes lead to problems that you can not troubleshoot due to a lack of root access to the system. If you have a choice between the two, use root access. Thank you.
    0
  • inveress
    Thanks for your responses, that's made it a lot clearer. :) Much appreciated. Cheers, Peter.
    0

Please sign in to leave a comment.