escaped glob(7) characters cause problems with restore
Brought to you by:
gundolfk
Files that contain globs cannot be restored although they are in the archives.
Verified by this:
touch F[rame
touch 'index.html?p=aaa'
./backup2l -c backup2l.conf -b
./backup2l -c backup2l.conf -r
The output:
...
all.1.tar.gz: 5 file(s) using 'DRIVER_TAR_GZ'
tar: z/bin/F\\[rame: Not found in archive
tar: z/bin/index.html\177p=aaa: Not found in archive
...
Removing the sed command that escapes globs in do_restore() worked for me. But you know the reasons why you had added it there.
I'm not sure whether this comment belongs here or under bug #24. Sorry for cross-posting it, but this way you'll see it either way.
My trouble is with the --restore option.
I got the following error message:
Restoring files...
all.162111.tar.gz: 1021 file(s) using 'DRIVER_TAR_GZ'
tar: home/dspence/.wine/drive_c/users/dspence/Local Settings/Temporary Internet Files/Content.IE5/APY3SBB1/get_addons\[0\]: Not found in archive
In fact, the file home/dspence/.wine/drive_c/users/dspence/Local Settings/Temporary Internet Files/Content.IE5/APY3SBB1/get_addons[0] was in the archive. I assume you use the back-slash as an escape character before certain special characters. I am wondering whether if you had used a single back-slash before the "[" and "]" characters instead of two back-slashes, perhaps it would have worked.