I posted some directions at https://webwork.maa.org/wiki/Backup_and_Disaster_Recovery. When I get a second I will clean those up to point to a standalone config file rather than .my.cnf.
Installation
Database backup script
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 5 posting(s) in 1 day