Thanks for answering.

On Wednesday 08 June 2005 14:55, Kern Sibbald wrote:
> > I am pretty sure it's just a few bytes that got corrupted. What can I do
> > access my data?
>
> I suspect that you are confused about the difference in how Bacula handles
> writing a tape and reading a tape.  It is clear that the tape is damaged
> and that Bacula cannot write on it without recycling the tape.  However, it
> does not appear you have tried to use Bacula to restore from the tape.

That's true. But how can I make sure that I'm really able to restore the very 
last byte of the last file? If I just restore some file I'm still not sure 
that _everything_ is okay.

> - Simply start using another tape for your appends, possibly redoing any
> saves in progress during the power failure (as determined from the
> catalog).  If Bacula was writing the tape when the power outage occurred
> unless you are very cleaver, it is not going to ever try to read from the
> Job/Jobs it was writing.

That would mean we loose at least three weeks of incremental backups and I 
want to avoid that. Besides this, how would I find out what jobs are 
affected? SQL query?

We are trying a bcopy to a file storage right now. If only the last bacula 
file is corrupted (as it seems), wouldn't it be the best way to truncate it 
and redo only that last job? What kind of data is missing if bacula does not 
find the EOD? If the bcopy succeeds we could simply modify the virtual tape 
with a hex editor and bcopy it back to a clean tape.


-Sebastian

-- 
Sebastian Stark -- http://www.kyb.tuebingen.mpg.de/~stark
Max Planck Institute for Biological Cybernetics
Spemannstr. 38, 72076 Tuebingen
Phone: +49 7071 601 555 -- Fax: +49 7071 601 552


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to