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 from external hard drive

Discussion in 'Data Protection' started by Custom-Hosting, Aug 9, 2016.

  1. Custom-Hosting

    Custom-Hosting Well-Known Member

    Joined:
    May 25, 2003
    Messages:
    84
    Likes Received:
    1
    Trophy Points:
    8
    Hey,

    I have an external hard drive that I have a backup on from cPanel, I was wondering how I can restore the database - I cant find an actual .sql file or rar etc. - It just has the database tables etc. in the database folder - Is this possible?

    I think I did this years ago but I cant remember what I did or if it worked.

    Thanks for any help
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Assuming that backup is a Full Website Backup taken from within your cPanel, or a full account backup made by the system that you saved locally, in it should be a directory called mysql. In that, should be your databases.
    There is no "database" directory in a cPanel backup that I'm aware of.
     
  3. Custom-Hosting

    Custom-Hosting Well-Known Member

    Joined:
    May 25, 2003
    Messages:
    84
    Likes Received:
    1
    Trophy Points:
    8
    Thanks for the reply, I'm seeing MYD, MYI and FRM files in the MySQL folder

    Sorry, I didnt mean a directory actually called database, I meant the MySQL directory
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  5. Custom-Hosting

    Custom-Hosting Well-Known Member

    Joined:
    May 25, 2003
    Messages:
    84
    Likes Received:
    1
    Trophy Points:
    8
    Unfortunately I don't have root / WHM access on this server, its a shared account with a different host.

    Is there no other way to do this if only the files are available?

    Thanks again for helping
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You should speak with your Hosting Provider for assistance with this. You'd need proper access to restore databases.
     
Loading...

Share This Page