Transfering from old Cpanel account with no root access

blackkaviar

Member
Aug 7, 2014
6
0
1
cPanel Access Level
Root Administrator
Hi all,
I'm trying to transfer all my accounts from the old Cpanel in my previous hosting. I do not have a root access there.
While some of the accounts have been successfully transfered using WHM's Transfer > Copy an Account From Another Server with Account Password.
Some other accounts are failed to transfer, apparently due to their large size (>500MB).
I've read some info suggesting to use WHM's Restore a Full Backup/cpmove file feature, but it requires the root access from the old accounts (which I dont have).
Other people have suggested to manually download the backups and upload to the new servers. That's very inconvenient for me since I have several accounts, and also my Internet connection here is very slow compared to most of developed countries. Doing so would take me hours just to transfer each account.
Any suggestion?
Thanks.

Hero Wijayadi
 

Infopro

Well-Known Member
May 20, 2003
17,076
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Assuming backups are enabled on the old server for the user, you are able to run a Full Website Backup and have it sent to a remote server, right from the users cPanel. You could use that to send the backup to an FTP account on the new server and then as root, move it to /home, and then try to restore from WHM:
WHM » Backup » Restore a Full Backup/cpmove File

You might consider excluding the largest parts of the account from the backup using the cpbackup-exclude.conf method:
Exclude Files from Backups - cPanel Documentation
And use the Transfer tools as you were using. Once the account is up and running proper on the new server, move the rest of the files that you excluded, over manually.

You might audit the account to see what can be stripped away too. Lots of times users don't bother to make sure their account is optimized by cleaning up old mail, old backups, stuff they no longer have any user for. If you can clean it up some it might help with moving it normally as you have been doing already.


A few suggestions for you. GL!
 

blackkaviar

Member
Aug 7, 2014
6
0
1
cPanel Access Level
Root Administrator
Hi Infopro,

Thanks for your explanation.
I've managed to transfer the backup to the new server, moved the backup file to the /home.
But when I tried the Restore a Full Backup/cpmove File, it gave me this error:
“Account failure: Failed to create the account: A database owner with the name sarangsp already exist

I had terminated the sarangsp account prior to restoring the backup file. I've checked in the WHM's Manage Databases, and I can verify that there's no sarangsp database or user there.
Is there anything that I miss here?
 
Jan 28, 2011
8
0
51
Gomel, Belarus
Hi all,
I've got the same issue like blackkaviar said.
I've transferred an account using transfer tool, then I terminated account on the new server, and when I tried to transfer it again, I'm getting this error:
Account Restore Failed: “Account failure: Failed to create the account: A database owner with the name “accname” already exists.”
There is no such user neither in /etc/group nor in /etc/passwd nor in mysql.user table.
Now I cannot transfer that account neither via Transfer Tool, nor via Full Backup/cpmove file.
Also I've tried to select database overwrite and database owner overwrite options without any luck.
Where I can find that owner, or how to overwrite it?