Back up and restore MYSQL databases on OS X
Restoring
Now that you have a complete backup of your databases you need to know how to restore them in an emergency.
To restore a backup type:
mysql -u root -p -v < BackupName.sql
Doing this will Completely erase the current database and revert to the backup. Any data added since the backup will be gone. If you have critical data being added all the time you will have to also look into MYSQL Cluster or MYSQL Replication.