[Box Backup] bbackupquery - misleading error message on directory restore

Ben Summers boxbackup@fluffy.co.uk
Thu, 23 Jun 2005 15:57:44 +0100


On 23 Jun 2005, at 15:20, Wolfgang Trexler wrote:

> Hi,
>
> I stumbled over the following error message in bbackupquery when  
> restoring to a directory (command restore) with a trailing "/" in  
> the target directory name.
>
> query > restore /files/src/ /home/user/test1/
> Exception: Common OSFileOpenError (Can't open a file -- attempted  
> to load a non-existant config file or bad file referenced within?)  
> (1/2)
>
> The same restore went well without the trailing "/"
>
> query > restore /files/src/ /home/user/test1
> ...........................................................
> Restore complete
>
> Are there any reasons I can't use a trailing "/" with the target  
> directory name? It would be more user friendly if a trailing "/" is  
> ignored silently or at least a more explanatory error message,  
> telling that there is something wrong with the target directory,  
> should be used.

I've added it to my bug list.

Ben