Bacula-users

Re: [Bacula-users] Tapes not changing VolStatus

2015-04-22 13:01:44
Subject: Re: [Bacula-users] Tapes not changing VolStatus
From: John Drescher <drescherjm AT gmail DOT com>
To: Michael Schwager <mschwager AT mochotrading DOT com>
Date: Wed, 22 Apr 2015 12:55:46 -0400
On Wed, Apr 22, 2015 at 12:38 PM, Michael Schwager
<mschwager AT mochotrading DOT com> wrote:
> Hello,
> I have a couple of tapes that I believe should be up for recycling. These
> tapes have a VolRetention period of 7,776,000 which is 90 days ( / 86400 ==
> 90). Now is:
> # date +%s
> 1429719504
> So 90 days ago is:
> # dc
> 2k
> 1429719504 7776000 - p
> 1421943504
> # date -d@1421943504
> Thu Jan 22 16:18:24 UTC 2015
>
> But I see in Bacula that the VolStatus is still "Full", not "Recycle":
> +---------+------------+-----------+---------+--------------+---------+------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolRetention | Recycle | Slot
> | LastWritten         |
> +---------+------------+-----------+---------+--------------+---------+------+---------------------+
>
> |      26 | EPW683L3   | Full      |       1 |    7,776,000 |       1 |    0
> | 2015-01-03 07:24:13 |
> |      29 | EPW684L3   | Full      |       1 |    7,776,000 |       1 |    0
> | 2015-01-17 07:49:39 |
>
> And I have the following in my Director:
>
>   Recycle = yes
>   AutoPrune = yes
>   Volume Retention = 3 months
>
> Should I not see these tapes as "Recycle" or "Purged" or some other
> VolStatus?
>

Bacula will only recycle when there are no available volumes in the
pool so tapes will be retained at least as long as the retention
period.

John

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
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>