Bacula-users

Re: [Bacula-users] restoring corrupt db

2008-10-31 19:27:02
Subject: Re: [Bacula-users] restoring corrupt db
From: "John Drescher" <drescherjm AT gmail DOT com>
To: "Michael Galloway" <mgx AT ornl DOT gov>, "Bacula-users AT lists.sourceforge DOT net" <Bacula-users AT lists.sourceforge DOT net>
Date: Fri, 31 Oct 2008 19:24:41 -0400
On Fri, Oct 31, 2008 at 5:58 PM, Michael Galloway <mgx AT ornl DOT gov> wrote:
> ok, my bacula db (postgres) is corrupt due to a disk problem on the raid 
> array it resides on.
> i have a complete database dump (from pg_dumpall) from last wednesday that i 
> plan to drop back
> to. my backup environment is bacula 2.2.x and postgres 8.2.5. my plan is to 
> install current
> bacula 2.4.3 and postgres 8.3.2, initialize the db, make bacula tables for 
> 2.4.3 and then import
> the postgres dump from last wednesday. i realize that the file counts on the 
> tapes will be incorrect,
> and i will have to update the volume info, file count, etc.
>
> is this a reasonable course of action or am i asking for trouble?
>

Sounds fine. After restoring the database you probably want to use the
bscan program on the tapes that were used since the corruption
occurred.

John

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>