Bacula-users

Re: [Bacula-users] Bacula Catalog File - How to reduce its size

2008-11-18 09:06:00
Subject: Re: [Bacula-users] Bacula Catalog File - How to reduce its size
From: "John Drescher" <drescherjm AT gmail DOT com>
To: lbocseg AT yahoo.com DOT br
Date: Tue, 18 Nov 2008 09:04:12 -0500
On Tue, Nov 18, 2008 at 8:20 AM, Rodrigo Rosenfeld Rosas
<lbocseg AT yahoo.com DOT br> wrote:
> I'm using the default settings of Bacula configurations to write the bacula 
> catalog backups to a file. The file is growing fast. I had a problem with 
> power failure and lost 4 months of backup due to a tape failure. I would like 
> to purge all jobids < 100, for instance, since the related tape doesn't exist 
> anymore. I hope this will reduce the catalog backup file size.
>
> I can't do it with "purge files jobid=2", for instance. Nothing happens and 
> the following message is showed:
>
> "
> This command is can be DANGEROUS!!!
>
> It purges (deletes) all Files from a Job,
> JobId, Client or Volume; or it purges (deletes)
> all Jobs from a Client or Volume without regard
> for retention periods. Normally you should use the
> PRUNE command, which respects retention periods.
> "
>
> How should I proceed?
>
Well if you lost an entire tape, it would be simpler to purge the
tape. Does it still exist in the catalog? If not ignore the DANGEROUS
comment.

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