Bacula-users

Re: [Bacula-users] Volumes are not being recycled?

2016-02-15 17:40:05
Subject: Re: [Bacula-users] Volumes are not being recycled?
From: Kern Sibbald <kern AT sibbald DOT com>
To: John Drescher <drescherjm AT gmail DOT com>, Bacula Users <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 16 Feb 2016 08:34:31 +1000
Hello,

Recently I got tired of doing the mental gymnastics to see when Volumes 
will expire and with Eric's SQL help, we modified the list (and llist) 
media output to eliminate one or two of the columns in the case of list 
media, but to add an "expiresin" field, which makes it much easier to 
see when a volume will expire.

This code has been in the public git repository in Branch-7.4 along with 
a number of bug fixes since the 7.4.0 release.  If you are interested in 
simplifying the Volume expiration mind gymnastics you might checkout and 
try the new code.

By the way, I thought that the above feature was added after the 7.4.0 
release, but according to what I see in the repo, much to my surprise it 
should also be in the released 7.4.0 version.

I would be interested in any feedback.

Best regards,
Kern

On 02/16/2016 07:03 AM, John Drescher wrote:
> On Mon, Feb 15, 2016 at 3:55 PM, SPQR <bacula-forum AT backupcentral DOT com> 
> wrote:
>> Hello,
>>
>> I recently executed
>>
>> update pool from resource
>>
>> update all volumes in pool
>>
>>
>> in bconsole.
>>
>>
>> This is the result:
>>
>> +--------+--------+---------+---------+---------+------------+-----------------+--------------+----------------+------------+-------------+---------------+-----------+---------+---------------+----------+-----------+-------------+---------+---------------+---------------+------------+--------------------+-------------------+---------------+
>> | poolid | name   | numvols | maxvols | useonce | usecatalog | 
>> acceptanyvolume | volretention | voluseduration | maxvoljobs | maxvolfiles | 
>> maxvolbytes   | autoprune | recycle | actiononpurge | pooltype | labeltype | 
>> labelformat | enabled | scratchpoolid | recyclepoolid | nextpoolid | 
>> migrationhighbytes | migrationlowbytes | migrationtime |
>> +--------+--------+---------+---------+---------+------------+-----------------+--------------+----------------+------------+-------------+---------------+-----------+---------+---------------+----------+-----------+-------------+---------+---------------+---------------+------------+--------------------+-------------------+---------------+
>> |      4 | Silver |     700 |     775 |       0 |          1 |               
>> 0 |      432,000 |              0 |          0 |           0 | 5,368,709,120 
>> |         1 |       1 |             1 | Backup   |         0 | Volume-       
>> |       1 |             0 |             0 |          0 |                  0 
>> |                 0 |             0 |
>> +--------+--------+---------+---------+---------+------------+-----------------+--------------+----------------+------------+-------------+---------------+-----------+---------+---------------+----------+-----------+-------------+---------+---------------+---------------+------------+--------------------+-------------------+---------------+
>>
>
> Looks like you have a 5 day retention now.
>
> John
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users