[email protected] +91-120-6025102
Submit

Avail Best discounts

Please fill in the form below and we will contact you within 24 hours.

Please explain how can I restore a database through SSH on my dedicated server?

In order to restore a database via SSH, you first of all need to be logged into your dedicated server as a root via SSH. After that simply enter the following command, while being in the directory, that your database dump is located:

mysql DATABASE_NAME < BACKUP.sql

You are required to change DATABASE_NAME with the actual name of the database in which you wish to restore the backup. In other words the database has to be one that already exists on your account.

Was this answer helpful? #4 #0
 

Related Questions

Submit Query

Please fill in the form below and we will contact you within 24 hours.