How To Create Database Backup from SSH

database-backup

Step 1:

Login to your server via SSH as root user.

Step 2

Use below command to create / export a database.

mysqldump database_name > /backup/database_name.sql

Where

database_name -> The name of database of which you want to create backup.
/backup/database_name.sql -> Location and file name of database backup file.

Our Top Rated Host

Related Posts