> -----Original Message----- > From: Martin Simmons [mailto:mar...@lispworks.com] > Sent: Friday, December 11, 2009 12:44 PM > To: bacula-users@lists.sourceforge.net > Subject: Re: [Bacula-users] prune not working as expected > > >>>>> On Thu, 10 Dec 2009 13:11:38 -0800, Kevin Keane said: > > > > I have a couple older volumes that I expected to get pruned by now, > but they > > don't. I am using bacula 3.0.2 on OpenSuSE. > > > > Here is one example: > > > > | 244 | randamai_20091101223426_Full.bacula | > Archive | 1 | 93,005,712,230 | 21 | 2,851,200 | > 0 | 0 | 0 | File | 2009-11-02 02:11:00 | > > > > When I used the prune volume command, I saw the following (all as > expected): > > > > Enter *MediaId or Volume name: > > *244 > > The current Volume retention period is: 1 month 3 days > > Continue? (yes/mod/no): > > yes > > > > But this volume remains unpruned even though it is older than 1 month > and 3 days. > > > > One thing that might possibly be related: these volumes were created > with > > bacula 2.4.2. When I migrated to 3.0, I created a new database from > scratch > > and used bscan to import the volumes. That was about a week ago. > Bacula > > falsely assigned a retention time of 1 year; I corrected that with an > update > > pool command. > > The problem is that the volume has status Archive, which was probably > set by > bscan. You can only prune volumes with status Full or Used.
Thanks! Yes, I discovered that right after I posted. But even after I updated the volume status to Used, prune still does not do anything. I also checked: there are no jobs associated with these volumes. ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users