Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Restore all databases question

Discussion in 'Database Discussion' started by Phat vo, Apr 1, 2017.

  1. Phat vo

    Phat vo Registered

    Joined:
    Apr 1, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    VN
    cPanel Access Level:
    Root Administrator
    Hello, my server was crashed with all file system were lost may be some important files of cpanel are lost too.

    I compressed my databases in /var/lib/mysql and how can i restore it?

    I used linode.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,822
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    You'd need to first re-create the cPanel accounts and their databases/database users. Once you do that, you can add the database users to the databases through cPanel, and then restore the contents of the database to the /var/lib/mysql/ directory from the backups you have.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice