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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Restore all databases question

Discussion in 'Database Discussions' 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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page