Hi,

I'm running an old installation of bacula 1.34 on a server.

I need to get data from old tapes. I tried with bscan and bls, but I can
only list jobs with bls, not files, and bscan fails to read the tape.

I tried a more recent version of bacula (1.38) but the results are similar.

Here are the output I gather from both versions of bls and bscan :

bscan 1.34 :

bscan -h localhost -n bacula_restore_7 -P'***' -h localhost -s -v -V
"PV-122T.001" /dev/nst0
bscan: butil.c:147 Using device: /dev/nst0 for reading.
bscan: Ready to read from volume "PV-122T.002" on device /dev/nst0.
bscan: bscan.c:255 Using Database: bacula_restore_7, User: bacula
bscan: bscan.c:357 Pool record for Default found in DB.
bscan: bscan.c:371 Pool type "Backup" is OK.
bscan: bscan.c:773 Created Media record for Volume: PV-122T.002
bscan: bscan.c:398 Media type "LTO-2" is OK.
bscan: bscan.c:408 VOL_LABEL: OK for Volume: PV-122T.002
bscan: bscan.c:835 Created Client record for Client: studiocanal-fd
bscan: bscan.c:918 Created new JobId=721 record for original JobId=73
bscan: bscan Fatal error: Error scanning attributes:
bscan: ERROR TERMINATION at bscan.c:577
Cannot continue.



bscan 1.38 :

/root/bacula/bacula-1.38.11/src/stored/bscan -h localhost -n
bacula_restore -P'****' -h localhost -s -v -V "PV-122T.001" /dev/nst0
bscan: butil.c:269 Using device: "/dev/nst0" for reading.
09-Oct 23:58 bscan: 3301 Issuing autochanger "loaded drive 0" command.
09-Oct 23:58 bscan: 3302 Autochanger "loaded drive 0", result is Slot 3.
09-Oct 23:58 bscan: Ready to read from volume "PV-122T.002" on device
"PV-122T" (/dev/nst0).
bscan: acquire.c:200 jcr->dcr=0x8167b08
bscan: bscan.c:281 Using Database: bacula_restore, User: bacula
bscan: bscan.c:418 Pool record for Default found in DB.
bscan: bscan.c:432 Pool type "Backup" is OK.
bscan: bscan.c:850 Created Media record for Volume: PV-122T.002
bscan: bscan.c:460 Media type "LTO-2" is OK.
bscan: bscan.c:469 VOL_LABEL: OK for Volume: PV-122T.002
bscan: bscan.c:912 Created Client record for Client: studiocanal-fd
bscan: bscan.c:995 Created new JobId=721 record for original JobId=73
09-Oct 23:58 bscan: ERROR TERMINATION at bscan.c:652
Record header file index 1 not equal record index 0

bls 1.34 :

# bls -V "PV-122T.001" /dev/nst0
bls: butil.c:146 Using device: /dev/nst0 for reading.
bls: Ready to read from volume "PV-122T.001" on device /dev/nst0.
bls: bls Fatal error: Error scanning attributes:
bls: ERROR TERMINATION at bls.c:356
Cannot continue.

bls 1.38 :

# /root/bacula/bacula-1.38.11/src/stored/bls -V "PV-122T.001" /dev/nst0
bls: butil.c:269 Using device: "/dev/nst0" for reading.
09-Oct 23:02 bls: 3301 Issuing autochanger "loaded drive 0" command.
09-Oct 23:02 bls: 3302 Autochanger "loaded drive 0", result is Slot 2.
09-Oct 23:02 bls: Ready to read from volume "PV-122T.001" on device
"PV-122T" (/dev/nst0).
bls: acquire.c:200 jcr->dcr=0x813a120
09-Oct 23:02 bls: ERROR TERMINATION at bls.c:372
Record header file index 1 not equal record index 0

any clue ?

Regards,

-- 
Clement Hermann (nodens)
- "L'air pur ? c'est pas en RL, ça ? c'est pas hors charte ?"
Jean in L'Histoire des Pingouins, http://tnemeth.free.fr/fmbl/linuxsf/

Vous trouverez ma clef publique sur le serveur public pgp.mit.edu.
Please find my public key on the public keyserver pgp.mit.edu.



-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to