Difference between account transfers as user and root

inveress

Registered
Apr 8, 2014
4
0
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.
 

server9host

Well-Known Member
Sep 18, 2013
160
0
16
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.
 

inveress

Registered
Apr 8, 2014
4
0
1
cPanel Access Level
Root Administrator
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.
 

server9host

Well-Known Member
Sep 18, 2013
160
0
16
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.
 

matthers

Member
Jul 6, 2013
9
0
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 .
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
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.