On Friday 24 March 2006 15:49, Rene Brask Sørensen wrote: > Rene Brask Sørensen wrote: > > Hi all > > > >>> how can I restore the file ? can I just fit the fileset definition > >>> and then restore the file ? > >> > >> Well, I'd recommend correcting the file set as soon as possible, but > >> that will _not_ fix existing backups. For your current problem, you > >> could try to locate the file in question in the catalog database and > >> manually create a bootstrap file for it. > >> > >> I never tried this, but I'm quite sure that it should be possible > >> and, in case that file is really important, it's definitely worh the > >> effort. You could also try to use bextract to dump a whole tapes > >> contents to a local disk, I think. > >> > >> Arno > > Ok I'm now a little further, I have created this bootstrap fil : > > Volume = hill-birch01_inc0022 > VolSessionId = 213 > FileIndex= 161 > > And executed this : > > ~ # bextract -b bootstrap hill-birch01_device tmp/ > bextract: butil.c:258 Using device: "hill-birch01_device" for reading. > 24-Mar 16:53 bextract: Ready to read from volume "hill-birch01_inc0022" > on device /backup/bacula/hill-birch01. > 24-Mar 16:53 bextract: bextract Error: Win32 data stream not supported > on this Client. > 24-Mar 16:53 bextract: End of Volume at file 1 on device > /backup/bacula/hill-birch01, Volume "hill-birch01_inc0022" > 24-Mar 16:53 bextract: End of all volumes. > 0 files restored. > > So how does I overcome this ?
The 1.38.5 and older versions of bextract on a Unix/Linux machine cannot read Win32 data. However, if I am not mistaken, the 1.39.6 (development code) of bextract does read Win32 data. This is still experimental. You will need to build this code, but you don't necessarily need to install it -- just run it from the build directory, and I am definitely not suggesting an upgrade at this point ! If for some strange reason, bextract doesn't read Win32 data, you can use the normal Bacula 1.39.6, which I am sure does restore Win32 data onto Unix/Win32 machines. Again, this is still experimental. However, I'm not 100% sure what will happen if you have backslashes in the path data as I doubt that this case was ever tested. > > Best regards > > René > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd________________________________________ >_______ Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users