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.

Manual restore of WHM and all accounts from server files

Discussion in 'Data Protection' started by david26uk, Sep 1, 2014.

  1. david26uk

    david26uk Member

    Joined:
    Apr 24, 2014
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Hi There,

    Is it possible to manually restore WHM accounts and databases from server files?

    Unfortunate my dedicated server failed to boot last week due to a kernel upgrade (thanks GoDaddy). I was forced to re-provision the server.

    I have a fresh install + all server files - that's it.

    Many thanks for your time.
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
  3. david26uk

    david26uk Member

    Joined:
    Apr 24, 2014
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    That third-party guide does reference "/var/lib/mysql" where your databases are stored. Note that this method of restoring a server is not supported. Ideally, you should backup your accounts using the included backup options so they can be restored in situations like this.

    Thank you.
     
  5. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    database

    as Michael explained not the best way but I have done it many times without issue
     
  6. david26uk

    david26uk Member

    Joined:
    Apr 24, 2014
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Thanks Guys - I have done it this way and everything appears OK

    Note: I'm unable to restore innodb tables though, so I've learned keeping daily backups is vital (prevention better than solution)
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page