Hi,
We recently setup this script to backup a database on a server where Mutt isn't installed. We modified the script to use uuencode and mail to send the attachment.
This is the line that we added;
(${CAT} "${LOGFILE}"; uuencode ${BACKUPFILES} "${BACKUPFILES}") | mail -s "${ERRORNOTE} MySQL Backup Log and SQL Files for ${HOST} - ${DATE}" ${MAILADDR}
Hi,
We recently setup this script to backup a database on a server where Mutt isn't installed. We modified the script to use uuencode and mail to send the attachment.
This is the line that we added;
(${CAT} "${LOGFILE}"; uuencode ${BACKUPFILES} "${BACKUPFILES}") | mail -s "${ERRORNOTE} MySQL Backup Log and SQL Files for ${HOST} - ${DATE}" ${MAILADDR}
I uploaded a patch file (https://sourceforge.net/tracker/?func=detail&aid=3241777&group_id=101066&atid=628966) with the necessary changes.
I hope this helps someone.