I\'ve created a script that runs every night on my Linux server that uses mysqldump to back up each of my MySQL databases to .sql files and packages them togeth
mysqldump
Depending on your version of linux it may be called mail. To quote @David above:
mail -s "Backup" -a mysqldbbackup.sql backup@email.com < message.txt
or also:
cat message.txt | mail -s "Backup" -a mysqldbbackup.sql backup@email.com