Bacula-users

Re: [Bacula-users] Understanding purge

2010-11-17 14:00:59
Subject: Re: [Bacula-users] Understanding purge
From: Blake Dunlap <ikiris AT gmail DOT com>
To: Graham Keeling <graham AT equiinet DOT com>
Date: Wed, 17 Nov 2010 12:42:11 -0600
If you guys would like, I can attach the patch we apply to make migrations purge the jobs themselves as well and thus cause volumes to properly autoprune.

We also run a perl script to prune/purge any expired volumes every few hours.

-Blake


On Wed, Nov 17, 2010 at 05:58, Graham Keeling <graham AT equiinet DOT com> wrote:
On Wed, Nov 17, 2010 at 11:32:44AM +0000, Dermot Beirne wrote:
> Hi Graham,
> I think this is a key feature, and am surprised it's not easily
> possible.  The user should have the choice.  I saw the blog entries
> you refer to, and that bug appears to have been fixed, but I don't see
> what use it is in the current system.  If it's not possible to get
> bacula to purge a volume until it has absolutely no option, (which it
> then truncates and relabels anyway) then under what circumstances is
> the actiononpurge=trucate feature useful?
>
> Hence I am wondering if I am misunderstanding how Bacula works in
> regard to purging volumes.
>
> There must have been a good reason to implement this new feature, and
> I think it's what I need, but I can't see how to use it properly.
>
> Dermot.

I agree, and I am sorry because I can't offer you any more help.
I was just stating how things appear to stand at the moment.

> On 17 November 2010 11:03, Graham Keeling <graham AT equiinet DOT com> wrote:
> > On Wed, Nov 17, 2010 at 10:48:36AM +0000, Dermot Beirne wrote:
> >> Hi Phil,
> >>
> >> Here is the pool definitions I'm using.
> >>
> >> Is there some way I can get the entire "disk" pool volumes purged when
> >> they expire, so they are all truncated and all that space is released.
> >
> > I don't think that you're going to have much luck with this.
> > If you do, I would be interested in how you did it.
> >
> > When the ActionOnPurge feature originally came along, I found a dangerous
> > bug in it. The bacula people said that they would try to fix it in the
> > next version.
> > But as far as I understand it, the fix is that you shouldn't try to run it
> > automatically.
> >
> > http://sourceforge.net/apps/wordpress/bacula/2010/02/01/new-actiononpurge-feature/
> > http://sourceforge.net/apps/wordpress/bacula/2010/01/28/action-on-purge-feature-broken-in-5-0-0/
> >
> >
> >


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users