On Tuesday 03 October 2006 15:23, Dan Langille wrote:
> On 3 Oct 2006 at 15:14, Arunav Mandal wrote:
> > On Tuesday 03 October 2006 14:33, Dan Langille wrote:
> > > On 3 Oct 2006 at 14:33, Arunav Mandal wrote:
> > > > On Tuesday 03 October 2006 14:22, Dan Langille wrote:
> > > > > On 3 Oct 2006 at 14:10, Arunav Mandal wrote:
> > > > > > On Tuesday 03 October 2006 14:06, Dan Langille wrote:
> > > > > > > On 3 Oct 2006 at 14:04, Arunav Mandal wrote:
> > > > > > > > After 1 month which the retention time the tapes are not
> > > > > > > > getting purged.
> > > > > > >
> > > > > > > Please provide the pool resource for this tape, as found in
> > > > > > > bacula- dir.conf.
> > > > > >
> > > > > > Pool {
> > > > > > Name = "daily"
> > > > > > Pool Type = Backup
> > > > > > Volume Retention = 30d
> > > > > > Recycle = yes
> > > > > > }
> > > > >
> > > > > I'm not sure, but look at this directive (from
> > > > > http://www.bacula.org/rel-manual/Configuring_Director.html in the
> > > > > Pool Resource):
> > > > >
> > > > > AutoPrune = <yes|no>
> > > > > If AutoPrune is set to yes (default), Bacula (version 1.20 or
> > > > > greater) will automatically apply the File retention period and the
> > > > > Job retention period for the Client at the end of the Job. If you
> > > > > set AutoPrune = no, pruning will not be done, and your Catalog will
> > > > > grow in size each time you run a Job. Pruning affects only
> > > > > information in the catalog and not data stored in the backup
> > > > > archives (on Volumes).
> > > > >
> > > > > I suggest this because my pool is:
> > > > >
> > > > > Pool {
> > > > > Name = Default
> > > > > Pool Type = Backup
> > > > > Recycle = yes # Bacula can automatically recycle Volumes
> > > > > AutoPrune = yes # Prune expired volumes
> > > > > Volume Retention = 365 days # one year
> > > > > Accept Any Volume = yes # write on any volume in the pool
> > > > > }
> > > >
> > > > I have a tape SDLT001 Full 91.8 2006-09-02 00:23:10 and it still
> > > > shows Full instead of Purged.
> > >
> > > OK. And you mention this because...?
> >
> > Isn't it supposed to get purged yesterday?
>
> I think you needed AutoPrune. You can add that directive to your
> Pool resource. Then run update, within bconsole, to refresh your
> Volume parameters based upon your current Pool definition. The next
> time a job is run, the catalog will be pruned automatically. Then we
> can see what status that volume has.
Did that now database shows AutoPrune is 1.
> You can run prune manually, if you wish. I recommend doing the above
> to know it will do it for you next time.
Arunav.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users