0

MySQL: create and restore dump

mysqldump -P 3306 -h server.or.ip -u username -p database > dump.sql
mysql -u username -p database < dump.sql