mysqldump -h [remote_host] -u [user] -p [database] > out.sql