mojamoi

Well-Known Member
Jul 23, 2007
186
0
66
migration using command line


I successfully transfered all files to new server\\But how do u retore the .sql files
\

I know just cpanel username and password

i did similar to this

mysql database_de < database_de.sql
mysql database_deaq < database_deaq.sql

But client says only files were restored and not databases?
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello :)

The commands you used would have imported those SQL files into those databases. Do you have root access to the destination server? If so, you could try terminating the account on the destination server and restarting the transfer using the following option in Web Host Manager:

"WHM Home » Transfers » Copy an Account From Another Server With an Account Password"

Thank you.
 

mojamoi

Well-Known Member
Jul 23, 2007
186
0
66
i have just root aceess no whm access



"WHM Home » Transfers » Copy an Account From Another Server With an Account Password"


when i do like this it says file corrupted
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
i have just root aceess no whm access
"WHM Home » Transfers » Copy an Account From Another Server With an Account Password"
when i do like this it says file corrupted
If you have root access to a server, then you have access to Web Host Manager. Simply sign into WHM with the "root" username and password. Feel free to open a support ticket using the link in my signature so we can take a closer look at the "File Corrupted" error message. You can post the ticket number here so we can update this thread with the outcome.

Thank you.