[Box Backup] Restoring files / directories
Eelco Leenen / Creative Minds
Thu, 1 Sep 2005 14:49:25 +0200 (CEST)
Currently, I'm writing an application which makes it possible for users to
restore their files and directories from a boxbackup store. I've stumbled
upon 2 things :
1) Restoring a directory with all of it's contents (recursive) works ok,
but it won't restore deleted files. This can be done using the '-d' flag,
but has to be done a second time and using another destination. Imo, this
is very inconvenient. When I want a full recursive restore of a directory,
I would like to restore ALL files at once.
My suggestion, add an '-a' flag so that all files and directories (also
deleted onces!) are restored to the given destination.
2) Restoring a single file using 'get' still needs the correct directory
when using the objectID. Why ? .. using a filename, I can understand that
you should change (cd) to the right directory (since the same filenames
can exist many times). But using a unique ID, why do you need to do this ?
I recommend that Boxbackup gets the correct file when using the ID without
the need to change to the correct directory, like it works with the