[Box Backup-commit] #68: More details when ReadError occurs

Box Backup trac at boxbackup.org
Fri Mar 26 16:56:05 GMT 2010


#68: More details when ReadError occurs
-------------------------+--------------------------------------------------
 Reporter:  achim        |       Owner:  ben    
     Type:  enhancement  |      Status:  new    
 Priority:  minor        |   Milestone:         
Component:  bbackupd     |     Version:  0.11rc2
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by achim):

 It was my understanding that the NotifyScript is only called once in case
 one or more ReadError(s) occured, not once for every error. I was merely
 wondering if the message in could read something like

 {{{
 WARNING: Read errors occured for the following files
 File A
 File M
 File Y
 }}}

 This would be very helpful for the e-mail notification that the users
 might get. It will tell them specifically what files are causing problems.
 At the moment, the NotifySysAdmin.vbs defaul script is rather limited in
 usefulness:

 {{{
         subject = subjtmpl & " (unknown)"
         body =  "The backup daemon on "&hostname&" reported an unknown
 error." _
                 & vbCrLf & vbCrLf & _
                 "==========================" & vbCrLf & _
                 "FILES MAY NOT BE BACKED UP" & vbCrLf & _
                 "==========================" & vbCrLf & vbCrLf & _
                 "Please check the logs on "&hostname&"." & vbCrLf
         SendMail from,sendto,subject,body
 }}}

-- 
Ticket URL: <https://www.boxbackup.org/trac/ticket/68#comment:2>
Box Backup <http://www.boxbackup.org/>
An open source, completely automatic on-line backup system for UNIX.



More information about the Boxbackup-commit mailing list