add mysql backup script

Backup using a file for each database.
Locks all databases during backup