Hello Justin,

Sorry for the confusion!
You are right, we recommend that *VolumeRetention is greater than or equal
to JobRetention".

So, the Volume will never get pruned before the Job Retention has expired.

Hope it is clear now.

Best,
Ana

On Tue, Jan 31, 2023 at 10:43 AM Justin Case <jus7inc...@gmail.com> wrote:

> Hi Ana, see below
>
> On 31. Jan 2023, at 10:16, Ana Emília M. Arruda <emiliaarr...@gmail.com>
> wrote:
>
> Hello Justin,
>
> The problem is that you expect the Job doesn't get pruned from the Catalog
> (Job and File records deleted from the Bacula database) *before* the
> JobRetention value expires.
> If you have a lower VolumeRetention and the volume gets pruned by using
> "prune volume expired yes", your jobs will be pruned before the
> JobRetention value.
>
> And when the volume gets pruned, volstatus=Purged, it can be potentially
> reused by Bacula or truncated and the job data in the volume gets deleted.
>
> This is why we usually recommend:
>
> JobRetention greater than or equal to VolumeRetention
>
>
> In your earlier mail you recommended the opposite:
>
>
> On 30. Jan 2023, at 19:02, Ana Emília M. Arruda <emiliaarr...@gmail.com>
> wrote:
>
>  I strongly recommend you to set JobRetention less than or equal to
> VolumeRetention to avoid the volume to be pruned before the Job Retention
> has expired.
>
>
>
> Which is preferred?
>
>
>
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to