[Box Backup-commit] #59: Inconsistent treatment of NotifyScript between Box Backup and Boxi
Box Backup
trac at boxbackup.org
Wed Sep 9 11:34:28 BST 2009
#59: Inconsistent treatment of NotifyScript between Box Backup and Boxi
----------------------+-----------------------------------------------------
Reporter: achim | Owner: ben
Type: defect | Status: new
Priority: normal | Milestone:
Component: bbackupd | Version: 0.11rc2
Keywords: |
----------------------+-----------------------------------------------------
Inconsistent treatment of NotifyScript between Boxi and BB
NotifyScript = "C:\Documents and
Settings\Administrador\NotifySysAdmin.cmd"
SyncAllowScript = C:\Documents and
Settings\Administrador\SyncAllowScript.cmd
Please note that NotifyScript needs qutation marks around filenames with
spaces, whereas SyncAllowScript does not. NotifyScript under bbackupd.exe
will result in errors like this when no "" are used around filenames with
spaces:
C:\Documents is not recognised as an internal or external command, program
or batch file.
WARNING: Notify script returned error code: 1 ('C:\Documents and
Settings\Administrador\NotifySysAdmin.cmd read-error')
So we add spaces around the NotifyScript to please BB, but then Boxi
complains with
The Notify Script does not exist ("C:\Documents and
Settings\Administrador\NotifySysAdmin.cmd")
In addition, when ignoring Boxi's error above (we know that the file
exists, and that BB needs spaces around it!) and trying to restore (which
should not require NotifyScript at all), the following error is given upon
trying to log into the server on tab "Restore Files" to selec the files:
---------------------------
Boxi Error
---------------------------
Error connecting to server: Connection SocketNameLookupError (Check
hostname specified.)
---------------------------
OK
---------------------------
Possible solution: check in the Box Backup source why Notify and SyncAllow
treat spaces in filenames differently, and make sure they both accept
filenames with spaces without the need for quotation marks.
--
Ticket URL: <https://www.boxbackup.org/trac/ticket/59>
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