Bacula-users

Re: [Bacula-users] Recycling not respecting Volume Retention

2012-02-06 12:12:25
Subject: Re: [Bacula-users] Recycling not respecting Volume Retention
From: Diego Rubert <dprubert AT prms.mpf.gov DOT br>
To: Bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 06 Feb 2012 14:14:03 -0300
Em 03-02-2012 20:35, John Drescher escreveu:
> On Fri, Feb 3, 2012 at 4:43 PM, Diego Rubert<dprubert AT prms.mpf.gov DOT br> 
>  wrote:
>> Hello!
>>
>> I've some problems with bacula 5.2.5 (maybe<  5.2.5) Volume
>> Retention.... It looks bacula is recycling volumes when no one is left,
>> even before volume retention period expires.... Although bacula purged
>> all jobs and files from volume, it should respect volume retention,
>> don't it?
>>
>> For testing purposes, I've downloaded, compiled and installer bacula
>> 5.2.5, changing only Pool file settings:
>>    Volume Use Duration = 1 minute
>>    Volume Retention = 1 day
>> and Client bacula-fd:
>>    File Retention = 1 minute
>>    Job Retention = 1 minute
>>
>> So, I've created 2 volumes, Vol1 and Vol2. Then, I ran a backup job,
>> that was stored at Vol1. 1 minute later, ran another backup, Vol1 was
>> marked as used, files and job at Vol1 was purged, and backup was stored
>> at Vol2.
>>
>> Another minute later I ran another backup. This time, Vol1 was recycled
>> and backup was stored on it. Since Volume Retention was set to 1 day and
>> manual says about Recycling Algorithm: "Prune volumes applying Volume
>> retention period (Volumes with VolStatus Full, Used, or Append are
>> pruned). Note, even if all the File and Job records are pruned from a
>> Volume, ***the Volume will not be marked Purged until the Volume
>> retention period expires***."
>> (http://www.bacula.org/5.2.x-manuals/en/main/main/Automatic_Volume_Recycling.html),
>> Vol1 shouldn't have been recycled... But log shows "There are no more
>> Jobs associated with Volume "Vol1". Marking it purged."
>>
>> Any ideas?
> Did you change definition of the pool after the volumes existed?
>
> John
No, the volumes were created after changing/reloading/updating the pool.

Diego

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users