Hi,

After a HD failure and following new install, I have to rebuild some catalogs 
from tapes in a separate new db. (the new one is utf-8)
As I understood I can use bscan for this.

Using this command:

bscan -V FULL-20060901-2 -v -s -m -c /etc/bacula/bacula-sd.conf -n 
bacula-oldcoded -u bacula /dev/st0

I get this result:

bscan -V FULL-20060901-2 -v -s -m -c /etc/bacula/bacula-sd.conf -n 
bacula-oldcoded -u bacula  /dev/st0
bscan: butil.c:269 Using device: "/dev/st0" for reading.
08-Dez 10:58 bscan: 3301 Issuing autochanger "loaded drive 0" command.
08-Dez 10:58 bscan: 3302 Autochanger "loaded drive 0", result is Slot 2.
08-Dez 10:58 bscan: Ready to read from volume "FULL-20060901-2" on 
device "DLT-8000" (/dev/st0).
bscan: acquire.c:200 jcr->dcr=0x80b7b48
bscan: bscan.c:281 Using Database: bacula-oldcoded, User: bacula
*******************************************************************
bscan: bscan.c:406 Volume is prelabeled. This tape cannot be scanned.
*******************************************************************
Records added or updated in the catalog:
      0 Media
      0 Pool
      0 Job
      0 File


How can I rebuild a catalog from a labelled tape, which, for my understanding, 
every tape on which bacula wrote is? 
I read the manual chapter for bscan for- and backwards many time, but i don't 
see the error.

I also have a question regarding bscan and autochanders:
The manual says that it's better to use one single bscan command with many 
volumes listed to recreate a consistent catalog.
Is bscan able to handle an autochanger and how how or how does this work?


Thank you for help i.a.!

Angela

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to