Knowledge Base Article

How to back up a database on my Dedicated server via SSH?

Once you have logged to your dedicated server as root via SSH, type the following command in order to create a backup of your database:

mysqldump DATABASE_NAME > BACKUP.sql

 

 

Change DATABASE_NAME with the actual name of the database you want to back up.

 

This will create a backup file of your database called BACKUP.sql that you can later use to restore your information from.



Rating

Please indicate if this article was helpful for you.

rating :  4.7 from 5
views :  2372
votes :  6

Haven't found what you are looking for? Suggest an article HERE.

powered by

Valid XHTML 1.0 Strict Valid CSS!