On 12/31/13 01:40, Ken Barclay wrote:
> Hi, I’ve been up half the night dealing with an almost ‘dead’ Storage
> Array.  This morning we found that we needed to manually restart the
> Bacula Server as it hung trying to shutdown a non existant mounted
> partition.
> 
> So the Server came back up, but every time I tried to start Bconsole it
> would shutdown the bacular-dir.  The cause being, as the subject says,
> bacula db does not exist.
> 
> This is not a new install.  The ‘catalog’ has been running for 5 years now.
> 
> Where did the db go?
> 
> How can I retrieve it?
> 
> I’ve got several servers to restore, but without the catalog I’m lost. 
> (Maybe my job will be too).
> 
> Bacula - 3.0.2 (18Jul09) x86_64-redhat-linux-gnu,redhat
> 
> Postgres – 8.1

There isn't enough information to answer your question.  I assume from
what you've said that your Bacula catalog was in PostgreSQL.  Where was
the Postgres data?  Was it on the storage array that failed?  Did you
have recent dumps of the catalog?  Did you have regular scheduled dumps
of the catalog at all?  Where were the catalog dumps stored?  As a last
resort, do you still have all of the backup media?

These are the kind of questions you need to be asking (and answering)
right now.  If you have intact backup media, then in the worst (catalog)
case that you have no recoverable backups at all of the catalog, you can
recreate your catalog by creating a new, empty catalog and using bscan
to read all of the metadata back into it by scanning the backup media.
If at all possible, you want to do this as a single job.

It should also be noted that the current version of Bacula is 5.2.13.
You are two full major branches behind.  You might want to consider
updating, after you get through this recovery.


-- 
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: 603.293.8485

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to