Bacula-users

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

2016-02-15 20:54:20
Subject: Re: [Bacula-users] Volumes are not being recycled?
From: Heitor Faria <heitor AT bacula.com DOT br>
To: Kern Sibbald <kern AT sibbald DOT com>
Date: Mon, 15 Feb 2016 23:49:04 -0200 (BRST)
*Correction:*

*list media pool=File human
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         | 
ExpiresIn  |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+------------+
|       1 | Vol-0001   | Error     |       1 |  1,29 GB |        0 |     365 
days |       1 |    0 |         0 | File1     | 2015-10-21 23:57:35 | 248 days |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+------------+

----- Original Message -----
> From: "Heitor Faria" <heitor AT bacula.com DOT br>
> To: "Kern Sibbald" <kern AT sibbald DOT com>
> Cc: "John Drescher" <drescherjm AT gmail DOT com>, "Bacula Users" 
> <bacula-users AT lists.sourceforge DOT net>
> Sent: Monday, February 15, 2016 11:46:14 PM
> Subject: Re: [Bacula-users] Volumes are not being recycled?

>>>> 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.
>>>
>>> Hello, Kern: this feature is great and I'm thankful for it, but is there a 
>>> way
>>> to make information human readable?
>> 
>> What do you mean?
>> 
>> Please show me what you currently see and what you prefer to see.
> 
> Hello, Kern: sorry for being laconic.
> When I mean "human readable" is in the sense of ls, df and other Linux 
> commands:
> 
> "-h, --human-readable
> print sizes in human readable format (e.g., 1K 234M 2G)"
> 
> *What I see today:*
> 
> *list media pool=File
> +---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+------------+
>| MediaId | VolumeName | VolStatus | Enabled | VolBytes      | VolFiles |
>| VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
>| ExpiresIn  |
> +---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+------------+
>|       1 | Vol-0001   | Error     |       1 | 1,286,119,412 |        0 |   
>31,536,000 |
>|       1 |    0 |         0 | File1     | 2015-10-21 23:57:35 | 21,428,702 |
> +---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+------------+
> 
> *What I think would make the user life easier:*
> 
> *list media pool=File human
> +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+------------+
>| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | 
>VolRetention
>| | Recycle | Slot | InChanger | MediaType | LastWritten         | ExpiresIn  |
> +---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+------------+
>|       1 | Vol-0001   | Error     |       1 |  1,29 GB |        0 |   
>31,536,000 |
>|       1 |    0 |         0 | File1     | 2015-10-21 23:57:35 | 248 days |
> +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+------------+
> 
>> Best regards,
>> Kern
> 
> Regards,
> --
> ===========================================================================
> Heitor Medrado de Faria - LPIC-III | ITIL-F | Bacula Systems Certified
> Administrator II
> Do you need Bacula training? http://bacula.us/video-classes/
> +55 61 8268-4220
> Site: http://bacula.us FB: heitor.faria
> ===========================================================================

-- 
======================================================================= 
Heitor Medrado de Faria - LPIC-III | ITIL-F | Bacula Systems Certified 
Administrator II 
Próximas aulas telepresencial ao-vivo - 15 de fevereiro: 
http://www.bacula.com.br/agenda/ 
Ministro treinamento e implementação in-company Bacula: 
http://www.bacula.com.br/in-company/ 
Ou assista minhas videoaulas on-line: 
http://www.bacula.com.br/treinamento-bacula-ed/ 
61 8268-4220 
Site: www.bacula.com.br | Facebook: heitor.faria 
========================================================================

------------------------------------------------------------------------------
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
<Prev in Thread] Current Thread [Next in Thread>