On Thursday 22 March 2007 14:33, Emery Guevremont wrote:
> I'm trying to restore data from a tape and I'm getting this error 
> message at file id 27:
> 
> 21-Mar 16:51 bextract: ERROR TERMINATION at bextract.c:289
> Record header file index 562664 not equal record index 0
> 
> Now I know there's a lot more data on this tape. I also used btape to 
> fsf to file 28, and I was able to successfully read a single record.
> 
> My question is, what does that error message mean and is there a way for 
> me to fsf to say file 28 and force bextract to start scanning from file 
> 28 instead of rewinding each time and start scanning from the beginning 
> of the tape?
> 
> Thank you.

Read the end of the Restore chapter of the manual. It gives you a few examples 
of writing bsr files, where you can do something *similar* (not exactly the 
same) as you want to do.  It doesn't let you position then start reading, but 
it does allow you to tell it where to read the data.  

> 
> 
> Here's the full output of the bextract I'm trying to do with the command:
> 
> bextract -v -i ./inc.tmp SDLT-320 -V "000038" /tmp/
> 
> bextract: butil.c:269 Using device: "SDLT-320" for reading.
> 21-Mar 16:31 bextract: Ready to read from volume "000038" on device 
> "SDLT-320" (/dev/nst0).
> bextract: acquire.c:200 jcr->dcr=0x80ae8a8
> 21-Mar 16:32 bextract: End of file 1  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:32 bextract: End of file 2  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:33 bextract: End of file 3  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:33 bextract: End of file 4  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:34 bextract: End of file 5  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:34 bextract: End of file 6  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:35 bextract: End of file 7  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:36 bextract: End of file 8  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:36 bextract: End of file 9  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:37 bextract: End of file 10  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:37 bextract: End of file 11  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:38 bextract: End of file 12  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:38 bextract: End of file 13  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:39 bextract: End of file 14  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:40 bextract: End of file 15  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:41 bextract: End of file 16  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:42 bextract: End of file 17  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:43 bextract: End of file 18  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:44 bextract: End of file 19  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:45 bextract: End of file 20  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:46 bextract: End of file 21  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:46 bextract: End of file 22  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:47 bextract: End of file 23  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:48 bextract: End of file 24  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:48 bextract: End of file 25  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:49 bextract: End of file 26  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:50 bextract: End of file 27  on device "SDLT-320" (/dev/nst0), 
> Volume "000038"
> 21-Mar 16:51 bextract: ERROR TERMINATION at bextract.c:289
> Record header file index 562664 not equal record index 0
> 

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