Andreas Jellinghaus wrote: >Hi, > >so I tried bscan to get those files back into the catalog: > >dream:~# /usr/lib/bacula/bscan.mysql -s -m -P bacula >-c /etc/bacula/bacula-sd.conf -v -V BaculaCD0010\|BaculaCD0011\| >BaculaCD00012 /root/bacula > > Ok. Using the static bscan from bacula-sd.
>... >bscan: bscan.c:651 32,768 file records. At file:blk=0:7,019 bytes=452,532,250 >02-Jun 12:42 bscan: Got EOF at file 1 on device /root/bacula, Volume >"BaculaCD0010|BaculaCD0011|BaculaCD00012" >02-Jun 12:42 bscan: End of Volume at file 1 on device /root/bacula, Volume >"BaculaCD0010|BaculaCD0011|BaculaCD00012" >bscan: bscan.c:303 Create JobMedia for Job OpenSC.2005-03-30_09.17.42 >bscan: bscan.c:1121 Created JobMedia record JobId 17, MediaId 10 >02-Jun 12:42 bscan: Ready to read from volume "BaculaCD0011" on >device /root/bacula. >bscan: bscan.c:403 Pool record for Default found in DB. >bscan: bscan.c:417 Pool type "Backup" is OK. >bscan: bscan.c:427 Media record for BaculaCD0011 found in DB. >bscan: bscan.c:445 Media type "File" is OK. >bscan: bscan.c:454 VOL_LABEL: OK for Volume: BaculaCD0011 >02-Jun 12:44 bscan: Got EOF at file 1 on device /root/bacula, Volume >"BaculaCD0011" >02-Jun 12:44 bscan: End of Volume at file 1 on device /root/bacula, Volume >"BaculaCD0011" >bscan: bscan.c:303 Create JobMedia for Job OpenSC.2005-03-30_09.17.42 >bscan: bscan.c:1121 Created JobMedia record JobId 17, MediaId 11 >02-Jun 12:44 bscan: Fatal Error at dev.c:341 because: >dev.c:340 Could not open: /root/bacula/BaculaCD00012, ERR=No such file or >directory > > Hmmm.. permissions or inexistent directories? >02-Jun 12:44 bscan: bscan Fatal error: Open device /root/bacula volume >BaculaCD0 >0012 failed, ERR=dev.c:340 Could not open: /root/bacula/BaculaCD00012, ERR=No >such file or directory > >02-Jun 12:44 bscan: bscan Fatal error: mount.c:467 Cannot open >Dev=/root/bacula, > > [snip] >02-Jun 12:44 bscan: End of all volumes. >Segmentation fault > >my fault, the name is "BaculaCD0012" not "BaculaCD00012" (extra "0"). >still bscan shouldn't segfault, right? > >how to recover from a half done bscan? >I purged all files and jobs, and I'm not running bscan on >all volume, I hope this is the right idea? > >purge does not affect the backup media, and I have a catalog >backup, so I should be fine, if that wasn't such a good idea, >right? > >I'm running debian sarge: >dream:/var/lib/bacula# dpkg -s bacula-sd >Package: bacula-sd >Version: 1.36.2-2sarge1 > > Kern: this is bacula-1.36.3, save for the old include/exclude support and the documentation updates, FYI. bscan comes in 3 flavors, each statically linked to its corresponding version of 'cats' and client libraries >(i386 Pentium II 400, kernel 2.6.11-rc3 ...) > > As usual, don't hesitate contacting me should you need some more information on the build process. J.L. ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users