Hello friends.

This problem has bothered me for the whole weekend. I have an old backup I
want to restore some specific files from. The backup spans three tapes,
00203, 00204 and 00205. The data is (probably) gone from the bacula MySQL
database so I started out using the b-tools, bls and bextract. bls said that
the data I was looking for was on tape 00204:

[EMAIL PROTECTED] bacula]# bls -v -V 00204 /dev/nst0 > 00204.ls.txt
   (many hours pass)
[EMAIL PROTECTED] bacula]# cat 00204.ls.txt | grep timra

   ...
   bls: drwxrwxrwx   1 root     root           0 2002-04-24 15:37:50
c:/www/Klubbkonton/www4/timragk/
   ...

But when i loaded tape 00204 and started to extract information from the
tape, the listed files are not there:

[EMAIL PROTECTED] bacula]# bextract -v -p -V 00204 /dev/nst0 restore-dir >
restore-log-00204.txt
   (many hours pass, again)
[EMAIL PROTECTED] bacula]# cat restore-log-00204.txt | grep timra

   ...

Nothing.

And the restore-logfile ends without errors:

bextract: -rwxr-xr-x   1 magnus   nobody   1050081 2005-02-16 15:50:52
restore-dir/foo
bextract: drwxr-xr-x   2 magnus   nobody      4096 2005-02-16 15:50:52
*none*
bextract: -rwxr-xr-x   1 magnus   nobody   1036460 2005-02-16 15:50:52
restore-dir/bar
bextract: drwxr-xr-x   2 magnus   nobody      4096 2005-02-16 15:50:52
*none*
bextract: -rwxr-xr-x   1 magnus   nobody   2410358 2005-02-16 15:43:40
restore-dir/gazonk
bextract: Got EOF at file 56  on device /dev/nst0, Volume "00204"
bextract: End of Volume at file 56 on device /dev/nst0, Volume "00204"
bextract: End of all volumes.
bextract: bextract Error: attribs.c:339 File size of restored file
restore-dir/gazonk not correct. Original 2410358, restored 458752.
867445 files restored.

Any guesses to what might differ between the bls and bextract programs? What
are the "*none*" markers from the bextract program? Can the fact that this
was a bextract of Windows files on a linux machine make any difference? (The
documentation says no: the drive letter will just be removed)

Some filenames has been changed to protect the innocent. Bacula verion
1.36.0 installed from RPM running MySQL 3.23.58 database backend on RHES 3
Update 6, if it's important. Exabyte 230D tape library using 30 DLT7000
tapes and one drive, if thats important.

Any help much appreciated, since I am truly puzzled.

--
 Infogate AB             [EMAIL PROTECTED]
 Storgatan 29                   tel: 035-171970
 Box 345                        fax: 035-171979
 301 08 Halmstad                www.infogate.se



-------------------------------------------------------
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