Save / import MySQL database

Save / import MySQL database

Posted By: pmietlicki

Published to Linux on Jun 04, 2015

On a server, I would strongly recommend to install automysqlbackup

To save :

mysqldump nombdd -u user -p > jjmmaa_backup.sql

You'll have to give the user password

To import the backup file :

mysql nombdd -u user -p < jjmmaa_backup.sql

Tags: BDD, database, MySQL

Archive