Shell script to backup database and email

Posted by & filed under Programming, Shell script.

This is just a simple shell script to run on a UNIX/LINUX webserver to backup a MySQL database and then email you to when done. It uses MySQLs ‘mysqldump’ function to backup the specified database and compress it and then email you – needs mail facility on webserver obviously! It can be set up as… Read more »