dum mysql db con cli

# export mysql
mysqldump -h localhost -u username -p dbname > filename.sql


# restore / import mysql
mysqldump -h localhost -u username -p dbname < filename.sql
Indonesia People