log in to your SSH account and execute this line:

mysqldump -h [SERVER] -u [USER NAME] -p [DATABAS]> dumpfil.sql

This command exports your database and saves it as "dumpfil.sql"