Thanks Blake, I am thinking migration is the way to go also. I'll look into your patch tomorrow. Thank you. Dermot.
On 17 November 2010 23:30, Blake Dunlap <iki...@gmail.com> wrote: > Basicly what I see here is that you really want a migration, not a copy job. > This coupled with the patch from > http://www.mail-archive.com/bacula-de...@lists.sourceforge.net/msg04724.html > should do what you want if you set the new option in the migration job (from > the patch, believe it is "Migrate Purge Jobs = yes", as I said, it's been a > while). > > You may also have to use a script to run the purge command on empty / > expired volumes to get the truncate to act like you want before the volumes > are reused, but I have a skeleton for that as well if needed. > > -Blake > > On Wed, Nov 17, 2010 at 16:07, Dermot Beirne <dermot.bei...@dpd.ie> wrote: >> >> Hi Blake, >> That sounds great, exactly what I've been looking for by the sound of it. >> If you can provide this and some details of how to get it working, I >> for one would be very interested and grateful. >> >> Incidently, how would using such a patch affect upgrading Bacula in >> future, etc. I presume you are using it in a production environment >> and find it stable. >> >> Does this patch replace the actiononpurge feature entirely? >> >> I'd suggest something like this should be considered for the next >> version of Bacula. >> >> Dermot. >> >> >> >> >> On 17 November 2010 18:42, Blake Dunlap <iki...@gmail.com> wrote: >> > 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 <gra...@equiinet.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 <gra...@equiinet.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@lists.sourceforge.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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users