MySQL database backup script

The following shell script is meant for unattended backups of Mac OS-local MySQL databases using cron. Backups are to be sent to a directory in the user’s home hierarchy. The home hierarchy can then be easily backed up by Time Machine or by other means.

See this page at