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 Database from read only ftp access of OVH server

Discussion in 'Database Discussions' started by Chandan singh, Jul 3, 2015.

  1. Chandan singh

    Chandan singh Registered

    Joined:
    Jul 2, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    kolkata
    cPanel Access Level:
    Root Administrator
    I have a dedicated server with OVH. Where I have virtualizor on that. In a VPS there was cpanel. Now I have all file of VPS that I downloaded using ftp. Please suggest me how can restore database of that vps...
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    You could try downloading the entire /var/lib/mysql directory from the image, installing the same version of MySQL on the new server, and then copying over the contents of that directory to the new server. However, note this is not a supported method of restoring a MySQL database. Typically, you need to backup the database via the "mysqldump" utility if you don't have backups generated through cPanel.

    Thank you.
     
Loading...

Share This Page