The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Difference between account transfers as user and root

Discussion in 'General Discussion' started by inveress, Sep 11, 2014.

  1. inveress

    inveress Registered

    Joined:
    Apr 8, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi all,

    Wondering if anyone knows what the practical difference is between:

    1. Using the "Copy an account from another server with an account password" function; and
    2. Using the Transfer Tool to copy a single account as root.

    I'm asking specifically in terms of what gets copied across, or whether there is any practical difference in terms of what you end up with.

    Context: I'm copying a site to a new server and have been told by the previous admin that I need to copy it using a root-level account transfer due to its setup, so am curious as to what the difference is between the two operations (if indeed there is any).

    Thanks,
    Peter.
     
  2. server9host

    server9host Well-Known Member

    Joined:
    Sep 18, 2013
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    Root Administrator
    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 :

    Code:
     /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.
     
  3. inveress

    inveress Registered

    Joined:
    Apr 8, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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.
     
  4. server9host

    server9host Well-Known Member

    Joined:
    Sep 18, 2013
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    You can transfer your cpanel account using rsync or scp command from one server to another server using server SSH access.
     
  5. matthers

    matthers Member

    Joined:
    Jul 6, 2013
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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 ( https://documentation.cpanel.net/di...unt+from+Another+Server+with+Account+Password ) says that there might be some issues with database users passwords and privileges .
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  7. inveress

    inveress Registered

    Joined:
    Apr 8, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks for your responses, that's made it a lot clearer. :)
    Much appreciated.

    Cheers,
    Peter.
     
Loading...

Share This Page