When you have access only to MySQL database existing on a remote server and not SSH or FTP - this is how the backup is done.
mysqldump --host hostaddress -P portnumber -u username -ppassword dbname > dbname.sql
Normally the remote port of MySQL is 3306.
You also need to be sure NO space after the -p PASSWORD