Backup MySQL Database to Email

Oscar Merida from Record as I Am has written a short tutorial about How to: Backup your MySQL database and email results using BASH. He creates a simple shell script which dumps the content of a database to a text file, compresses the file and sends of an email with the file.

The script only depends on Mutt or any other command-line email client (DreamHost supports Mutt), so it’s fairly easy to get started.

Comments are closed.