Hi,

06.09.2007 17:10,, David Pospisil wrote::
> But I think that bacula prune old job records after doing the job of the same 
> name.

Right.

> Example: I have a job called JOB-a, so old job records will be pruned 
> after doing job JOB-a (because bacula chceck old records after doing the job 
> of the same name), but I am not sure.
> Second thing is that I have never seen configuration for old jobs so I dont 
> know if they had autoprune set on of off :(

To get rid of old file records, you would run the dbcheck utility and 
check for and remove orphaned file records. I would suggest to stop 
Bacula while you do that.

If you find that dbcheck runs very very long, you might want to add 
some indexes to the catalog first. There are some discussions of this 
problem in the list archives.

Also, depending on the version of Bacula you run, different indexes 
might exist, or dbcheck might be performing differently.

Arno

> Thx for reply,
> David
> 
> 
> Dne čtvrtek 06 září 2007 16:53 jste napsal(a):
>> On 6 Sep 2007 at 16:14, David Pospisil wrote:
>>> Hi,
>>> my catalog database has 10G, but there is a lot of old records (file
>>> records) from Jobs which do not exist now. Will the old records be pruned
>>> or will they stay in database forever? Is there any way how to delete old
>>> records from database?
>> They will be pruned if you specify they should be pruned.  Look at
>> retention.  There are values for each of Job, File, and Volume.  Look
>> also at AutoPrune.
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to