The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to restore backup to addon

Discussion in 'General Discussion' started by atlantis21, Oct 3, 2013.

  1. atlantis21

    atlantis21 Well-Known Member

    Joined:
    Sep 18, 2012
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    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?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,852
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page