Backing 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.


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 2267