Quick fix for SaraB-0.2.2 - email result bug

"Tristan Rhodes" <[email protected]> Thu, 09 Sep 2004 14:03:31 -0600
Newsgroups gmane.comp.sysutils.backup.sarab
Message-ID <[email protected]>
Joseph,

>I am testing the latest release now.  The only thing I notices was the 
>email
>notification is missing the name of the Backup...  ie "SaraB: Successful
>backup for" is what I get.

I found the problem.  To get this working again, edit line 376 and 381 of 
sarab.sh.

Line 376 before:
   cat $TEMP_LOG | mail -s "SaraB: Successful backup for $DATE" 
"$EMAIL_ADDRESS"
Line 376 after:
   cat $TEMP_LOG | mail -s "SaraB: Successful backup for $BASENAME" 
"$EMAIL_ADDRESS"

Line 381 before:
   cat $TEMP_LOG | mail -s "SaraB: Backup failure for $DATE" 
"$EMAIL_ADDRESS"
Line 381 after:
   cat $TEMP_LOG | mail -s "SaraB: Backup failure for $BASENAME" 
"$EMAIL_ADDRESS"

I will probably not release again untill I make a few more changes to the 
code.

Tristan Rhodes

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php