This page shows you how to export a MySQL database to a file, which can then be imported ("restored").
1) Open MySQL Workbench
2) Connect to database
3) Select Local Instance, click OK (after 1st time, it will default to this selection)
4) Select Data Export, check one "schema" (database), choose "Export to self-contained file," choose a file name, click "Start Export." This will export to the file.