30
Oct/08
0

mySQL: How to backup/restore SQL databases through SSH

To backup your database through SSH (create SQL dump):

mysqldump --opt -u user -p dbname > {path}/backup.sql

To restore:

mysql -u user -p dbname < {path}/backup.sql
Tagged as: , ,
Plugin from the creators of Brindes Personalizados :: More at Plulz Wordpress Plugins