This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here

Skip to main content

Just Host Web Hosting Help

MySQL Database Restore

Summary

There are three options available to backup your MySQL databases

Using Site Backup & Restore

  1. Log in to your Just Host cPanel account.
  2. Under the Files section, select Site Backup & Restore.
  3. Click the Restore tab.
  4. Select MySQL Database option.
  5. Select the desired archive date.
  6. Select the desired database.
  7. Click Restore option on the right, or from the interactive mouse-over menu.

Using phpMyAdmin

  1. Login to your cPanel and click phpMyAdmin icon in Databases section.
  2. Select the database you wish to import the backup from the drop-down list.
  3. Click on the Import tab.
  4. Click the Choose File button.
  5. Click the Go button.
    Note: This can take a significant period of time, depending on the size of the file being imported, the number of operations the .sql file must perform, and a number of other variables.

Using the Command Line

Use the command line in SSH. Please see the separate Helpdesk article here.

             mysql -p -u username database_name < file.sql 
             

Note: You will be prompted for your MYSQL password. Enter your password and this will export a copy of the database into your specified filename.


If you need assistance with any of these procedures, please contact our Support department.

Knowledgebase Article 384,173 views bookmark tags: admin database mysql php phpmyadmin restore


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

How do I import a backup of my database (.sql file) using phpMyAdmin?
Knowledgebase Article 782,048 views tags: database mysql phpmyadmin

A repository of information on how you can manage your database by using the phpMyAdmin interface.
Knowledgebase Article 375,804 views tags: commands database mysql phpmyadmin

How to restore MySQL databases using the Site Backup &amp; Restore tool
Knowledgebase Article 258,226 views tags: backup database mysql restore site

Related Help Content

A guide to duplicating a MySQL database using phpMyAdmin
Knowledgebase Article 243,066 views tags: databases mysql phpmyadmin

A tutorial on how to perminately delete columns from your mySQL database using phpMyAdmin
Knowledgebase Article 188,787 views tags: Plesk cpanel databases mysql phpmyadmin

Guidance on adding tables to your mySQL database in phpMyAdmin
Knowledgebase Article 114,584 views tags: mysql phpmyadmin

How to backup all of your MySQL databases using the Site Backup &amp; Restore tool
Knowledgebase Article 271,934 views tags: backup database mysql restore site

How to repair and optimize your database using phpMyAdmin:
Knowledgebase Article 442,214 views tags: database mysql optimizing repairing slow speed

This article will show you how to rename a database table in phpMyAdmin.
Knowledgebase Article 322,748 views tags: databases mysql phpmyadmin

Step by step directions on how you can search your database using phpMyAdmin
Knowledgebase Article 185,216 views tags: Plesk cpanel databases mysql phpmyadmin

I am prompted to set a new MySQL password. What does this mean and how do I change it?
Knowledgebase Article 249,744 views tags: connect database mysql password phpmyadmin username

** Google ad credits are only available to customers in the United States, Canada, and the United Kingdom at this time.

¹ VAT (Value Added Tax) is not included in our advertised price and will be charged separately and itemized on invoices and billing information. Standard VAT rates based on EU Member State regulations may apply. Learn more.