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 Backup MySQL .idb .frm Files

Discussion in 'Database Discussion' started by zlesavich, Nov 19, 2014.

  1. zlesavich

    zlesavich Member

    Joined:
    Aug 11, 2014
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I recently extracted the MySQL backup files for all existing databases from a cPanel backup. What is the procedure to restore those to a new server? They're a bunch of folders with .idb and .frm files.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    It looks like you restored an entire MySQL directory based on the information you have provided. It's a better idea to restore the accounts with databases included so that database ownership is properly assigned during the account restore.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. zlesavich

    zlesavich Member

    Joined:
    Aug 11, 2014
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    That's an interesting thought... but I didn't do that at all. I THOUGHT the database backups would stay within the tar file of each individual account but they were just dumped in the system files backup. Very inconvenient. I'm asking how do I restore this folder of files now without disrupting the rest of the services that use MySQL?
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    To clarify, in "WHM Home » Backup » Backup Configuration", please let us know which of the following options you selected:

    Per Account Only
    Entire MySQL Directory
    Per Account and Entire MySQL Directory


    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