Bacula-users

Re: [Bacula-users] Automatic Tape Recycling

2012-07-25 11:52:58
Subject: Re: [Bacula-users] Automatic Tape Recycling
From: Phil Stracchino <alaric AT metrocast DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 25 Jul 2012 11:50:03 -0400
On 07/25/12 10:57, Sven Tegethoff wrote:
> On 25.07.2012 16:39, Phil Stracchino wrote:
>> Now my problem is that bacula always leaves the last tape in
>> "appendable" state, and when the tape gets inserted for its next write
>> cycle, it will not overwrite this tape, but only append to it - even
>> though the retention period of the tape has expired.
>> Sounds so far as though what you need is "Volume Use Duration".
> 
> That's what I thought, too :)
> 
>>> I thought I could solve the problem by setting the maximum volume use
>>> time to a value that is equal to its retention time - but the volume use
>>> time will only be updated AFTER a job has finished, and never BEFORE a
>>> job gets started. So the first job in the new cycle will always be
>>> appended to last week's backup, no matter what I do.
>> Wait, you said tapes are swapped out every day.  Did I misunderstand?
>> Have you tried setting volume use duration to 24 hours?
> 
> Yes, I did. My problem is, The "use duration" is checked and the "Used 
> status" is set only at the end of a job that writes to the particular 
> volume, and not at the moment when bacula decides whether to overwrite 
> or to append to the volume.


i think we need to understand more about the use cycle for these
volumes.  Are these weekly tapes written to once per week with a single
job or set of jobs, or are they continuously appended to over the course
of a week?


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric AT caerllewys DOT net   alaric AT metrocast DOT net   phil AT 
co.ordinate DOT org
  Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater
                 It's not the years, it's the mileage.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users