Bacula-users

Re: [Bacula-users] Force to Purge

2009-04-01 13:35:14
Subject: Re: [Bacula-users] Force to Purge
From: Ryan Novosielski <novosirj AT umdnj DOT edu>
To: bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Wed, 01 Apr 2009 13:24:51 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The option that makes it mark a tape as "Used" is not the retention
time, it's the Max Jobs. You might want to use "Volume Use Duration"
instead so you don't have to modify this every time you add a job.

In any case, you need to focus on that instead. I think what you can do
is an llist media or show (I forget the options) to show us the values
of MaxJobs and VolumeUseDuration or other.

This works perfectly, so it's just a configuration problem.

Alan Messias wrote:
> i add the 5 days yesterday only to make a test. but it didnt work, that
> is why i didnt change all the tapes to 5 days.
> 
> On Wed, Apr 1, 2009 at 2:01 PM, John Drescher <drescherjm AT gmail DOT com
> <mailto:drescherjm AT gmail DOT com>> wrote:
> 
>     2009/4/1 Alan Messias <alancordeiro AT gmail DOT com
>     <mailto:alancordeiro AT gmail DOT com>>:
>     > Yeah,
>     >
>     > I checked this. This is the tape that i'll use tonight:
>     >
>     > *list media pool=PoolQuartaNoite
>     >
>     
> +---------+-------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
>     > | mediaid | volumename  | volstatus | enabled | volbytes    |
>     volfiles |
>     > volretention | recycle | slot | inchanger | mediatype | lastwritten
>     > |
>     >
>     
> +---------+-------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
>     > |      72 | FitaQuarta2 | Append    |       1 | 848,719,872 |        1
>     > |      518,400 |       1 |    0 |         0 | DDS-3     | 2009-03-26
>     > 08:43:57 |
>     >
>     
> +---------+-------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
>     >
>     > Today mnorning i checked this for the tape i used. and it was the
>     same.
>     > yesterday i tried change the retention from 6 days to 5 days. But
>     it didnt
>     > recycle the tape again. Just append.
>     >
> 
>     When did you add the "Maximum Volume Jobs = 2"? Today? Also
>     volretention of 518,400 seconds = 6 days.
> 
>     John
> 
> 
> 
> 
> -- 
> http://www.redesfja.com UNIX-Like and Soluções de Rede
> "-"-"-"-"-"-" Of course it runs NetBSD "-"-"-"-"-"-"
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj AT umdnj DOT edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ06Njmb+gadEcsb4RAsLKAKC7mxJDb7I/noztF7DQHNBBR5QiugCfTMxv
eAJpUrCTVfHJ+UTSQDTCuoA=
=rUvF
-----END PGP SIGNATURE-----


------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users