If you have access to the server from the command line then you can use the mysqldump command.

Something like

mysqldump databasename > database.dump