Hiya,

If I remember correctly from my testing when I setup my Bacula install, Volume 
Use duration is only checked at the beginning of a job. I remember this because 
I was expecting the volume to 'magically' change to used exactly 23 hours after 
it was first written and it wasn't changed until the next job went to run and 
realised the volume had expired. (Or I triggered a check doing a status dir 
from memory)

Your example sounds like you are trying to use it to force volumes to 
switch/rotate in the middle of one. I dont believe what you are trying to do 
will work properly anyway as the job will continue running until it finishes 
under your scenario.

"Maximum Volume Bytes" on the other hand will do what you want as once a Volume 
reaches that size it is marked as 'Full' (I think) and Bacula will move on to 
the next job.

Regards,


Troy Daniels
Systems Administrator.
iTouch Australia (pty) ltd.

Simon Ekstrand wrote:
> Steen skrev:
>> Torsdag 01 marts 2007 21:36 skrev Simon Ekstrand:
>> Maybe not, but I think that is what your configuration does
>>> A typical sample pool definition we're using:
>>>
>>> Pool {
>>>    Name = Default-Windows-94
>>>    Pool Type = Backup
>>>    Recycle = yes
>>>    AutoPrune = yes
>>>    Volume Retention = 7 days
>>>    Volume Use Duration = 23h
>>>    LabelFormat = "Vol-windows-94"
>>> }
>> You need to set a Maximum Volume Size in order for Bacula to "rotate" or 
>> recycle volumes properly, like:
>>
>> Pool {
>>   Name = Default
>>   LabelFormat = "Def"
>>   Pool Type = Backup
>>   Recycle = yes
>>   AutoPrune = yes
>>   Volume Retention = 8 days
>>   Volume Use Duration = 12 hours
>>   Accept Any Volume = yes
>>   Recycle Oldest Volume = yes
>>   Maximum Volume Bytes = 2 gb
>> }
> 
> I thought that 'Maximum Volume Bytes' and 'Volume Use Duration' did the 
> exact same thing except that one limited based on size and the other on 
> a time interval, that's the way i interpret the documentation here:
> http://www.bacula.org/rel-manual/Basic_Volume_Management.html#SECTION002611000000000000000
> 
> So the way i read it setting 'Maximum Volume Bytes' wouldn't help my 
> situation. I'd be happy to be wrong though and I'll be testing it first 
> thing in the morning.
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to