[Box Backup] Errors in NotifySysAdmin.vbs

boxbackup at boxbackup.org boxbackup at boxbackup.org
Thu Jan 15 07:41:51 GMT 2009


I have noted two apparent errors in the latest version of NotifySysAdmin.vbs:

My version comes from: boxbackup-0.11_trunk_2368-backup-client-mingw32.zip

-------------
Error 1:

When executing it, VBS gives error: Invalid Character, Line 35, Char 39

The line is:

"for backup on " & hostname & "." _ & vbCrLf & _

but is should be:

"for backup on " & hostname & "." & vbCrLf & _

(the extraneous "_" should be removed)

------------
Error 2:

The bbackupd service calls NotifySysAdmin.vbs with event "backup-ok", but the script does not handle that event.

I fixed it by replacing line:

ElseIf args(0) = "backup-start" Or args(0) = "backup-finish" Then


with:

ElseIf args(0) = "backup-start" Or args(0) = "backup-finish" Or args(0) = "backup-ok" Then

------------

Hope this helps someone,

Stefan




More information about the Boxbackup mailing list