How to restore backup to addon

atlantis21

Well-Known Member
Sep 18, 2012
51
0
56
cPanel Access Level
Root Administrator
I have one account and I was created backup.
On another I add addon domain.
How to restore backup with the EASIEST WAY to this addon domain (only files and mql)?

I trying manualy but sql file is to large and connection time out...
Is there another way to import sql file?
Or how to temorary increase connection time and sql file size?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello :)

You should restore large databases via the command line. Here is an example of a command you could use if you are logged in via SSH as "root":

Code:
mysql database_name < /path/to/dump.sql
Thank you.