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

Discussion in 'Database Discussions' started by tolko, Dec 4, 2013.

  1. tolko

    tolko Registered

    Joined:
    Dec 4, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello everyone
    sorry for my english language.
    i'm a newbie and i need restore a database only.
    in my VHM control panel "Legacy Restore Backups" section, there is an option for restore all databases (there are 4) and i need restore a single specific database.
    What's the correct procedure or ssh command?
    Thanks in advance.
    Tolko
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    How large is the database? If it's not too large, you can restore it via phpMyAdmin. Otherwise, if you have SSH access, upload it and restore it via:

    Code:
    mysql database_name < /path/to/database.sql
    Thank you.
     
Loading...

Share This Page