Skip to content

Backup d’une database MySQL

  1. mysqldump -h localhost -u user -ppassword -r/tmp/mysql_backup.data nomdatabase
  2. mysql -h localhost -u user -ppassword nomdatabase < /tmp/mysql_backup.data