Dominic,
thanks a lot! Copying bacula.db to borken.db and adjsuting
the 'Catalog' entry in bacula-dir.conf did the trick. I'm
even lucky enough that the catalog data of the maschine i
need to restore isn't broken. And dbcheck still checks ...
-- Attila
Dominic Marks wrote:
On Friday 10 June 2005 15:45, Attila F�l�p wrote:
Hi,
few days ago bacula-dir started and kept crashing.
Jun 4 10:52:35 stattmp kernel: pid 465 (bacula-dir), uid 910: exited
on signal 10
Looking at the problem the db was corruppted.
Dbcheck runs for ~70 hours now(and this is a real fast maschine: dual
opteron 2.2GHz)
41796 root 116 0 201M 193M CPU0 0 68.4H 99.02% 99.02%
dbcheck
Now i have to run a restore job. To do that i have to stop dbcheck
since restore tries to write to the database which is locked. From
the last time i did this, i know that after killing dbcheck the
database stays locked. Last time i threw away the db and bscanned
all my tapes, but i have no time to do so this time.
How do i either unlock the db after killing dbcheck or run a restore
with a locked db?
Have you tried copying the db before you kill dbcheck? I suppose its
probably already too late (ie: it will be locked already) but you might
be able to use the copy. In future it might be best to copy the db
before you run dbcheck? I don't know if this is feasible for your size
of db.
Any hints appreciated since i look very unprofessional right now.
Setup: FreeBSD 5.4-RELEASE-p1
Bacula from ports 1.36.3 with SQLLite
-- Attila
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
HTH,
-------------------------------------------------------
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
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users