How can i take backup from any other server where i have only reseller access not the root or you can say only cpanel account access so in that case how i can take remote backup on that server and fetch on my server where i have root login using SSH command or api calls?
As I understand you said root access is available only on the destination server, where I believe you're wanting to transfer to or restore the account on via a full cPanel account backup.
With root access only on the destination server and not on the source/original server, you may use WHM via the following menu path:
WHM:
Main >>
Transfers >>
Copy an Account from Another Server with Account Password
With or without root access on either machine, and specifically, with only access to the source/original server via the cPanel account username and password, you may login to cPanel and then generate a full cPanel account backup via either of the following two menu paths:
cPanel:
Main >>
Files >>
Backups
cPanel:
Main >>
Files >>
Backup Wizard
When generating the cPanel full account backup, you will have the option to modify the desired e-mail contact address that is used for notification upon completion; you will also have the option to select the desired destination of your full backup, including in the cPanel user's home directory on that same server, or a remote destination where the full backup will be copied into an FTP account you provide or copied to a remote server using SSH/SCP access that you provide. Depending on how much data is involved and how long it takes the server to complete the requested task there may be a significant period of time where you must wait while the backup is being created and, optionally, subsequently copied via FTP or SCP/SSH access. Upon completion you should receive an e-mail at the contact address that was provided when requesting the full backup be generated via cPanel.
If the domain name of the cPanel account no longer resolves to the original/source server you may access that server directly by IP address or hostname, such as one of the following examples; in these examples simply replace "server" with either the server IP address or the server hostname, whichever is known:
Code:
http://server:2082/
https://server:2083/