It is impossible using bextract on unix.

The best way is to use bscan to put the jobs back into the catalog and then
restore them as normal.  With Bacula 2.x, you can probably do the restore on
unix to get the main data stream in the file.

You could also try the latest winbacula beta, which I think contains
bextract.exe that will work on Windows.

__Martin


>>>>> On Fri, 22 Jun 2007 11:22:27 +0200, Marco Strullato said:
> 
> Do you mean that now it's too late and I can not extract useable data
> from the volume?
> 
> Marco
> 
> 
> 2007/6/22, Martin Simmons <[EMAIL PROTECTED]>:
> > >>>>> On Fri, 22 Jun 2007 09:41:28 +0200, Marco Strullato said:
> > >
> > > Hi all!
> > > I found an old thread about the same problem:
> > >
> > > http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg10945.html
> > >
> > > between Kern Sibbald and Timo Eissler
> > >
> > > That thread finished with that sentece of Kern:
> > >
> > > It looks like the BackupRead header information is not being correctly 
> > > parsed.
> > > You are not by any chance restoring to a 64 bit machine or a bigendian
> > > machine (e.g. Sparc or Irix) are you?
> >
> > Sounds like a problem with non-portable Win32 backups.  Unless you set
> > portable=yes in the Fileset, bextract cannot extract the files on a unix
> > machine.
> >
> > __Martin
> >
> >
> > > Did you solve the problem?
> > >
> > > Thanks
> > >
> > > Marco
> > >
> > >
> > >
> > >
> > > 2007/6/22, Marco Strullato <[EMAIL PROTECTED]>:
> > > > Hi!
> > > > I add some info.
> > > > After recovery, when I open the file daemon config file with ultraedit 
> > > > I have:
> > > >
> > > >         �              €    0       L               /���m 8�$C
> > > > 2�               /���m 8�$C
> > > > 2      p         �                       �                 $ �
> > > >       /���m 8�$C
> > > > 2�       (c)               !           o           # Client (File
> > > > Services) to backup
> > > > Client {
> > > >   Name = marketing-fd
> > > >   Address = marketing
> > > >   FDPort = 9102
> > > >   Catalog = MyCatalog
> > > >   Password = "@client_password@"      # password for FileDaemon
> > > >   File Retention = 30 days            # 30 days
> > > >   Job Retention = 6 months            # six months
> > > >   AutoPrune = yes                     # Prune expired Jobs/Files
> > > >
> > > > I think that the header of the file is damaged!
> > > > I do some tests and I have seen that the first n byte of every file is
> > > > damaged. There is the following sequence at the beginning of every
> > > > file:
> > > >
> > > >         �              €    0       L               /���m 8�$C
> > > > 2�               /���m 8�$C
> > > > 2      p         �                       �                 $ �
> > > >       /���m 8�$C
> > > > 2�       (c)               !           1
> > > >
> > > > I attach here also some of the output I had from the bextract command:
> > > >
> > > > bextract: match.c:249 add_fname_to_include prefix=0 gzip=0 fname=/
> > > > bextract: butil.c:283 Using device: "FileStorageMarabello" for reading.
> > > > 21-Jun 18:30 bextract: Ready to read from volume "MARABELLO-0002" on
> > > > device "FileStorageMarabello" (/home/backup).
> > > > bextract: -rwxrwxrwx   1 root     root          1024 2007-03-20
> > > > 22:57:58  ./c:/.rnd
> > > > 21-Jun 18:30 bextract: bextract Error: attribs.c:409 File size of
> > > > restored file ./c:/.rnd not correct. Original 1024, restored 1252.
> > > > bextract: -rwxrwxrwx   1 root     root           112 2007-02-12
> > > > 17:02:44  ./c:/ATI/SUPPORT/7-2_xp_dd_41238/2KXP_INF/atiiseag.ini
> > > > 21-Jun 18:30 bextract: bextract Error: attribs.c:409 File size of
> > > > restored file ./c:/ATI/SUPPORT/7-2_xp_dd_41238/2KXP_INF/atiiseag.ini
> > > > not correct. Original 112, restored 340.
> > > > bextract: -rwxrwxrwx   1 root     root        181248 2007-02-02
> > > > 20:20:28  ./c:/ATI/SUPPORT/7-2_xp_dd_41238/2KXP_INF/B_42809/ati2cqag.dl_
> > > > 21-Jun 18:30 bextract: bextract Error: attribs.c:409 File size of
> > > > restored file 
> > > > ./c:/ATI/SUPPORT/7-2_xp_dd_41238/2KXP_INF/B_42809/ati2cqag.dl_
> > > > not correct. Original 181248, restored 181476.
> > > > bextract: -rwxrwxrwx   1 root     root        166093 2007-02-02
> > > > 21:03:43  ./c:/ATI/SUPPORT/7-2_xp_dd_41238/2KXP_INF/B_42809/ati2dvag.dl_
> > > > 21-Jun 18:30 bextract: bextract Error: attribs.c:409 File size of
> > > > restored file 
> > > > ./c:/ATI/SUPPORT/7-2_xp_dd_41238/2KXP_INF/B_42809/ati2dvag.dl_
> > > > not correct. Original 166093, restored 166321.
> > > > bextract: -rwxrwxrwx   1 root     root         28344 2007-02-02
> > > > 20:56:41  ./c:/ATI/SUPPORT/7-2_xp_dd_41238/2KXP_INF/B_42809/ati2edxx.dl_
> > > > 21-Jun 18:30 bextract: bextract Error: attribs.c:409 File size of
> > > > restored file 
> > > > ./c:/ATI/SUPPORT/7-2_xp_dd_41238/2KXP_INF/B_42809/ati2edxx.dl_
> > > > not correct. Original 28344, restored 28572.
> > > >
> > > > Do you have suggestions?
> > > >
> > > > Thanks
> > > >
> > > > Marco
> > > >
> > > >
> > > > > Hi all!
> > > > > I have a big problem with bacula: a windows pc crashed and I have to
> > > > > restore all data.
> > > > >
> > > > > Because of some unluckly facts I have to restore directly from the
> > > > > volume: I have a full backup of that pc. I used bextract and I get all
> > > > > files but they are unreadable! I mean Every kind of files, from the
> > > > > exe to the doc and txt: the only file type I can read is pdf.
> > > > >
> > > > > For example when I open a doc file, openoffice asks me about the
> > > > > encoding: every encoding I specify is wrong and I can not read my
> > > > > file!
> > > > >
> > > > > I have the same behavior with all files except pdf.
> > > > >
> > > > > I think the problem is the character encoding:
> > > > > from the server (gentoo linux), if I use the "file" command to
> > > > > identify the filetype, I obtain that all files are a DB2 archive. I
> > > > > also tried to correct something with dos2unix and unix2dos with no
> > > > > luck.
> > > > >
> > > > > What do you think? how can I fix the problem?
> > > > >
> > > > > Help please!
> > > > >
> > > > > Marco
> > > > >
> > > >
> > >
> > > -------------------------------------------------------------------------
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > _______________________________________________
> > > Bacula-users mailing list
> > > Bacula-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/bacula-users
> > >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> >
> >
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to