Bacula-users

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

2016-02-15 11:17:42
Subject: Re: [Bacula-users] Volumes are not being recycled?
From: Wanderlei Huttel <wanderleihuttel AT gmail DOT com>
To: John Drescher <drescherjm AT gmail DOT com>
Date: Mon, 15 Feb 2016 14:15:34 -0200
That's the point!

John already answered!

Best Regards
Wanderlei

Atenciosamente 

Nome | Wanderlei Hüttel



2016-02-15 14:08 GMT-02:00 John Drescher <drescherjm AT gmail DOT com>:
On Mon, Feb 15, 2016 at 11:02 AM, John Drescher <drescherjm AT gmail DOT com> wrote:
> On Mon, Feb 15, 2016 at 10:55 AM, SPQR <bacula-forum AT backupcentral DOT com> wrote:
>> Oh, the output is really heavy:
>>
>>
>> *list media pool=Silver
>> Automatically selected Catalog: MyCatalog
>> Using Catalog "MyCatalog"
>> +---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
>> | mediaid | volumename | volstatus | enabled | volbytes      | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten         |
>> +---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
>> |       1 | Volume-0001  | Full      |       1 | 5,368,688,779 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-09 08:53:46 |
>> |       3 | Volume-0003  | Full      |       1 | 5,368,683,314 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-10 02:11:23 |
>> |       4 | Volume-0004  | Full      |       1 | 5,368,675,284 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-10 02:15:05 |
>> |       5 | Volume-0005  | Full      |       1 | 5,368,688,832 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-10 02:19:18 |
>> |       6 | Volume-0006  | Full      |       1 | 5,368,651,959 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-10 02:23:10 |
>> |       7 | Volume-0007  | Full      |       1 | 5,368,660,805 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 02:06:01 |
>> |       8 | Volume-0008  | Full      |       1 | 5,368,698,255 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 02:08:35 |
>> |       9 | Volume-0009  | Full      |       1 | 5,368,701,421 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 02:11:25 |
>> |      10 | Volume-0010  | Full      |       1 | 5,368,687,082 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 02:14:01 |
>> |      11 | Volume-0011  | Full      |       1 | 5,368,689,133 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 02:17:59 |
>> |      12 | Volume-0012  | Full      |       1 | 5,368,688,680 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 02:21:21 |
>> |      13 | Volume-0013  | Full      |       1 | 5,368,688,660 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 02:24:18 |
>> |      14 | Volume-0014  | Full      |       1 | 5,368,699,776 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 02:27:26 |
>> |      15 | Volume-0015  | Full      |       1 | 5,368,688,659 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 02:30:31 |
>> |      16 | Volume-0016  | Full      |       1 | 5,368,688,669 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 02:33:14 |
>> |      17 | Volume-0017  | Full      |       1 | 5,368,693,717 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 02:36:19 |
>> |      18 | Volume-0018  | Full      |       1 | 5,368,697,923 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 02:38:57 |
>> |      19 | Volume-0019  | Full      |       1 | 5,368,663,848 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 02:41:42 |
>> |      20 | Volume-0020  | Full      |       1 | 5,368,685,553 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 02:44:18 |
>> |      21 | Volume-0021  | Full      |       1 | 5,368,688,565 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 02:46:55 |
>> |      22 | Volume-0022  | Full      |       1 | 5,368,688,545 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 02:49:27 |
>> |      23 | Volume-0023  | Full      |       1 | 5,368,688,641 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 02:52:08 |
>> |      24 | Volume-0024  | Full      |       1 | 5,368,688,632 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 02:54:47 |
>> |      25 | Volume-0025  | Full      |       1 | 5,368,682,797 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 02:57:24 |
>> |      26 | Volume-0026  | Full      |       1 | 5,368,688,483 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 03:00:01 |
>> |      27 | Volume-0027  | Full      |       1 | 5,368,688,580 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 03:02:43 |
>> |      28 | Volume-0028  | Full      |       1 | 5,368,688,490 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 03:05:18 |
>> |      29 | Volume-0029  | Full      |       1 | 5,368,688,590 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 03:07:54 |
>> |      30 | Volume-0030  | Full      |       1 | 5,368,688,647 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 03:10:41 |
>> |      31 | Volume-0031  | Full      |       1 | 5,368,688,584 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 03:13:14 |
>> |      32 | Volume-0032  | Full      |       1 | 5,368,688,646 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 03:15:50 |
>> |      33 | Volume-0033  | Full      |       1 | 5,368,688,394 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 03:18:32 |
>> |      34 | Volume-0034  | Full      |       1 | 5,368,688,584 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 03:21:17 |
>> |      35 | Volume-0035  | Full      |       1 | 5,368,688,653 |        1 |    1,209,600 |       1 |    0 |         0 | File      | 2016-02-05 03:23:56 |
>>

BTW, Your retention period is 1209600 seconds (14 days). If you
changed that in bacula-dir.conf with existing volumes you need to
execute

update pool from resource

update all volumes in pool

in bconsole to have bacula apply the changes to existing volumes. The
settings in bacula-dir.conf apply to new volumes only unless you use
these commands.

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