Bacula-users

Re: [Bacula-users] Pool file/job retention not updating

2010-05-28 11:54:36
Subject: Re: [Bacula-users] Pool file/job retention not updating
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 28 May 2010 16:52:36 +0100
>>>>> On Fri, 28 May 2010 09:29:52 +0200, Machiel van Veen said:
> 
> On Thursday 27 May 2010 08:36:05 pm Martin Simmons wrote:
> > >>>>> On Thu, 27 May 2010 14:40:13 +0200, Machiel van Veen said:
> > >
> > > But when I do "show pool=Default" in bconsole I get:
> > >
> > > "JobRetention=0 secs FileRetention=15 years 4 months 1 day 11 hours 46
> > > mins 16 secs"
> > 
> > It is a bug in the show pool command in the current releases.  I don't know
> >  if it will be fixed in the next release because the latest source is no
> >  longer available.
> > 
> > __Martin
> 
> Thanks for your reply, however that does mean the having the file and job 
> retention in the pool directive does not seem to function as I 
> hoped/understood.
> 
> I have a setup running two jobs for one client. Both jobs have their own pool 
> with their own retention times. But when the job with the shortest retention 
> time runs it also prunes jobs and file records from the other job with the 
> longer retention times set.
> 
> Is it correct I need to create two clients with their own configurations in 
> order to have two jobs with diferent retention times? Pruning is done based 
> on 
> the client, not the job and/or pool?

Setting up two clients is the only safe way to do it.

The JobRetention and FileRetention in the pool do override the settings in the
client, but not in a useful way.  The problem is that autopruning runs after
every job, but it uses the retention time from the job's pool or client.  That
single retention time is applied to all other backups for the client, even
those from other pools.

__Martin

------------------------------------------------------------------------------

_______________________________________________
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>