Bacula-users

Re: [Bacula-users] Corrupted catalog on bad drive - please help!

2013-02-15 09:31:36
Subject: Re: [Bacula-users] Corrupted catalog on bad drive - please help!
From: "Michael Stauffer _g" <mgstauff AT gmail DOT com>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Fri, 15 Feb 2013 09:28:13 -0500
Adrian, thanks for the reply and suggestions.

It turns out I've got a few other NFS drives failing and they're all on the 
same RAID system. So I'm working on repairing that and hopefully the data will 
be recovered and I won't need to rebuild the bacula catalog. Fingers crossed.

-M

> -----Original Message-----
> From: Adrian Reyer [mailto:bacula-lists AT lihas DOT de]
> Sent: Monday, February 11, 2013 5:14 PM
> To: Michael Stauffer _g
> Cc: Bacula_users_list_mgstauff_gmail
> Subject: Re: [Bacula-users] Corrupted catalog on bad drive - please help!
> 
> On Mon, Feb 11, 2013 at 04:09:52PM -0500, Michael Stauffer _g wrote:
> > This seems to be a disk error, but I ran 'xfs_repair' anyway but it didn't
> > fix anything, not surprising.
> 
> You could try a badblock scan as well.
> 
> > Catalog backups:
> > There's a script running on the machine that backs up the catalog nightly to
> > another disk using /usr/lib/bacula/make_catalog_backup and I have
> several
> > days worth of these. This disc is backed up by bacula too. HOWEVER,
> looking
> > at catalog.txt log (in the same dir as these backups, it looks like a log
> > from make_catalog_backup ), it shows this error's been happening since
> Nov
> > 2012, so my recent catalog dumps aren't going to be good.
> 
> You could alwaqys try and delete the wrong line from the dump.
> 
> > **** what's next?
> > After replacing the bad disk:
> > Can i reconstruct the catalog just from the backup data itself? It's on
> > tapes, fwiw. How do I go about doing this?
> 
> You can do so with bscan, it will take quite some time, though.
> 
> > If I can get one of the old catalog dumps off one of the backup tapes, can I
> > recontruct from that even though there have been backups since then?
> 
> If you find an old dump and restore it, you should be fine by just using
> bscan for all 'tapes' that are more recently used than the dump you
> restored.
> 
> > Do I resolve this with Bacula 3.0.1 before upgrading to the latest? Seems to
> > make sense.
> 
> I'd use 3.0.1 as it avoids any catalog upgrade hassle that might kick
> in.
> 
> Be aware I only started with Bacla 5.0 and never use a 3.0 myself.
> 
> Regards,
>       Adrian
> --
> LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
> Fon: +49 (7 11) 78 28 50 90 - Fax:  +49 (7 11) 78 28 50 91
> Mail: lihas AT lihas DOT de - Web: http://lihas.de
> Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users