Bacula-users

Re: [Bacula-users] Force to Purge

2009-04-01 12:45:34
Subject: Re: [Bacula-users] Force to Purge
From: Alan Messias <alancordeiro AT gmail DOT com>
To: bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Wed, 1 Apr 2009 13:41:59 -0300
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.

My pool config:

Pool {
  Name = PoolQuartaNoite
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 6d
  #Use Volume _Once_ = yes
  Maximum Volume Jobs = 2
  Volume Use Duration = 23h
  Recycle Oldest Volume = yes
}

Thanks,
Alan MeC Lacerda

On Wed, Apr 1, 2009 at 1:33 PM, John Drescher <drescherjm AT gmail DOT com> wrote:
On Wed, Apr 1, 2009 at 12:27 PM, Alan Messias <alancordeiro AT gmail DOT com> wrote:
> Yeah,
>
> The retention already was set to 6 days, i just adjust maximum volume jobs
> to 2, reload and updateed the pool.
>
> But it didnt work. When the backup starts it appends to the end of the tape
> and dont recycle it.
>

Can you do a list media for that volume. My guess is the Last written
time is less than 6 days from today.

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