once again i've managed to force myself to learn the hardway...

server: Version: 1.36.3 (22 April 2005)
        redhat 9.0
client: Version 1.36
        Win NT 1381

in my FileSet config i mistakenly put "C:\" instead of "C:/".
as such- the backups have been carried out successfully (as far as i can tell) but the Path records now read like: C:/\/foo/bar. essentially it thinks there's a directory named "\" which is illegal in NTFS. and of course- no, i didnt use the portable option. :(

trying to restore i get errors of:

27-Oct 18:15 foo-fd: RestoreFiles.2005-10-27_17.59.06 Error: Cannot create directory /tmp/bacula-restores/C/\/Users Shared Folders: ERR=The system cannot find the file specified.
27-Oct 18:15 foo-fd: RestoreFiles.2005-10-27_17.59.06 Error:
..\findlib\../../findlib/create_file.c:182 Could not create /tmp/bacula-restores/C/\/Users Shared Folders/users/Accounts Payable/Hours Worked/ThisCo Time Sheet.xls: ERR=The system cannot find the path specified.

i've tried:
1) manually updating the mysql records in the Path table to remove the '\' from all records relevant to the path i wish to restore. same errors.

2) creating the restore path necessary on a linux box (ie: with a directory named '\') and sharing it via samba and mounting it on the windows box. ...when mounted the directory appears in hex and thus its useless for this.

3) using bextract to get the files but i still get errors about NTFS streams not being support on the linux client.
$ bextract -i files-i-want -V MyVol /dev/nst0 /tmp/bacula


so- as far as i can tell- the files i want are on tape, but i cant restore them anywhere. either i'm missing where i need to change the catalog records- or the full path is stored on the tape and thats used as the canonical name for restores. i can almost taste the files but NTFS wont forgive me.

my next line of action is to modify the source to alter create_file.c to never allow a '\' directory request be made... but i'm comfortable hacking the linux code... but not the windows code. i'm not sure if this alteration should be made on the server or the client. ????

how can i trick it to not recreate the full path? or how can i explicityly alter the path to remove the '\'?

i really desire a non source-hack fix... but i'm stuck....



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to