Home > computers > databases > mysql > MysqlBackup | About

Backup

 mysqldump -uuser -ppassword database > dumpfile 

Restore

 mysql -uuser -ppassword < dumpfile 

Restore to another database : create an empty database (CREATE DATABASE database_name), then

 mysql -uuser -ppassword -D other_database < dumpfile 

contact : @ychaouche yacinechaouche at yahoocom


QR Code
QR Code mysqlbackup (generated for current page)