Bacula-users

Re: [Bacula-users] Catalog Cleanup (Remove Pool)

2009-02-26 09:39:30
Subject: Re: [Bacula-users] Catalog Cleanup (Remove Pool)
From: John Drescher <drescherjm AT gmail DOT com>
To: Berend Dekens <berend AT cyberwizzard DOT nl>, bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Thu, 26 Feb 2009 09:36:32 -0500
On Thu, Feb 26, 2009 at 8:55 AM, Berend Dekens <berend AT cyberwizzard DOT nl> 
wrote:
> Hi all,
>
> Because my Bacula setup keeps evolving over time, so does the specifics
> of the database. Currently I have 2 pools with volumes and jobs that I
> want to get rid of.
>
> I tried purging and then deleting them (it would be nice if BAT allowed
> the selection of multiple volumes and it would stop jumping back to the
> console) but when I look at the bacula DB, it seems like a number of
> jobs are still present in the database.
>
delete pool

from a bacula console
>
> I've searched for a tool to check integrity or something that would
> allow me to specify a pool to delete and then clean up any reference in
> the database to this pool.
>
> I've looked to see if the DB schema was documented somewhere (I've found
> a lot of references but starting a blind delete is probably not a good
> idea) but so far I've yet to find something.
>
dbcheck

from the shell will clean the database.

John

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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>