Export;

mysqldump -p -u username database_name > dbname.sql


Import;

mysql -p -u username database_name < file.sql

kaynak : https://www.bluehost.com/help/articl...mmand-line-ssh