On Wednesday 21 December 2005 02:08, Luke Lussier wrote: > On 20-Dec-05, at 6:43 PM, Arno Lehmann wrote: > >> Greetings list, > >> I have a volume with data on it that I need to recover (using > >> bextract). The volume has been relabeled since it was last written > >> - consequently, Bacula reports that the volume has no Jobs on it > >> (per bls). > >> Is there any way to recover the data on this volume? > > > > That depends on what kind of volume it is. > > > > Tape - you could try to rewind, write a bacula label, some blocks > > of empty data and no EOF. The trick would be to overwrite the > > existing EOF/EOT marks and thus allow your tape drive to read to > > where there still is the old bacula data. You would surely loose > > some data from the beginning of the volume, and perhaps you would > > need a hand-crafted version of bextract, but it should be possible. > > Depending on the type of tape, by the way. > > Sorry, forgot to mention that the volume in question is a tape. > > So, the answer I suppose, is that there is no easy way to force > bextract to ignore the EOT and continue on, where it will surely find > more begin-job blocks?
Many modern drives will not let you space beyond the EOD. If you have such a drive, you are out of luck. If however, using mt, you can space past the EOT marks and there is data, you might be able to recover the data by disabling the rewind() function in src/stored/dev.c, rebuilding bextract, spacing past the EOT marks, then running bextract with the -p option. This is the kind of problem that can be a black hole sink for time ... -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users