Bacula-users

Re: [Bacula-users] Volume Use Duration not working in 5.2.1

2011-11-24 11:15:31
Subject: Re: [Bacula-users] Volume Use Duration not working in 5.2.1
From: Thomas Mueller <thomas AT chaschperli DOT ch>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 24 Nov 2011 17:13:32 +0100
On 24.11.2011 17:01, Fahrer, Julian wrote:
> Hi,
>
> Am I missing something or is the "Volume Use Duration" parameter in the
> pool not working in 5.2.1?
>
> I defined the pool like this:
> ---
> Pool {
>    Name = NEO200S_Weekly_Pool
>    Pool Type = Backup
>    Recycle = yes
>    AutoPrune = yes
>    Volume Retention = 31 days
>    Volume Use Duration = 72h
>    Storage = NEO200S
>    Cleaning Prefix = "CLN"
> }
>
> ---
>
> In bconsole a "list volumes" shows
>
> ---
>
> Pool: NEO200S_Weekly_Pool
> +---------+------------+-----------+---------+-------------------+------
> ----+--------------+---------+------+-----------+-----------+-----------
> ----------+
> | mediaid | volumename | volstatus | enabled | volbytes          |
> volfiles | volretention | recycle | slot | inchanger | mediatype |
> lastwritten         |
> +---------+------------+-----------+---------+-------------------+------
> ----+--------------+---------+------+-----------+-----------+-----------
> ----------+
> |       4 | ANO623L4   | Full      |       1 |   969,400,986,624 |
> 196 |    2,678,400 |       1 |    0 |         0 | LTO-4     | 2011-11-14
> 11:28:51 |
> |       5 | ANO650L4   | Append    |       1 |   315,867,396,096 |
> 64 |    2,678,400 |       1 |    0 |         0 | LTO-4     | 2011-11-14
> 13:26:54 |
> |       7 | ANO622L4   | Full      |       1 | 1,014,171,669,504 |
> 205 |    2,678,400 |       1 |    0 |         0 | LTO-4     | 2011-11-21
> 06:42:40 |
> |       8 | HFO402L4   | Append    |       1 |   739,355,000,832 |
> 148 |    2,678,400 |       1 |    0 |         0 | LTO-4     | 2011-11-21
> 11:36:12 |
> +---------+------------+-----------+---------+-------------------+------
> ----+--------------+---------+------+-----------+-----------+-----------
> ----------+
>
> ---
>
> Mediaid 5&  8 should actually be in status "used". It is 2011-11-24
> 17:00 right now...
> Same thing for other pools with "Volume Use Duration = 12 days"

IMHO status only gets updated if media is consired for use.

If you start a backup job, does it take media-id 5 or 8 ?

- Thomas


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users