mysqldump -u username -ppassword –all-databases > dump.sql