[Box Backup] bbackupquery.exe (R2549) requires a trailing backslash with a directory as a restore target

Achim boxbackup@boxbackup.org
Tue, 04 Aug 2009 13:37:48 +0200


[Again, did not find a way to create a new bug ticket]

query > ls
00000002 -d---- BACKUPTEST
query > restore BACKUPTEST d:\RESTORE
WARNING: Failed to open file: d:\RESTORE.boxbackupresume: Acceso denegado.
(5)
WARNING: Exception thrown: CommonException(OSFileOpenError) at
FileStream.cpp(84)
ERROR:   Failed to save resume info file 'd:\RESTORE.boxbackupresume':
Common OSFileOpenError (Can't  open a file -- attempted to load a
non-existant config file or bad file referenced within?)
ERROR:   Unknown error during restore.

BUT the directory does get created (confirmed on the file system):

query > restore BACKUPTEST d:\RESTORE\
ERROR:   The target directory exists. You cannot restore over an existing
directory.

after manually deleting it and adding a trailing slash to the restore
destination, it works:

query > restore BACKUPTEST d:\restore\
.......................................................................