Damian Brasher wrote:
> Flak Magnet wrote:
>
>> On Wednesday 05 December 2007 8:46:24 am Damian Brasher wrote:
>>
>>
>>
>>> Thanks, this has started off last night missed jobs, however I have this
>>> message and still do not fully understand why the tape moves to the end
>>> of the last backup instead of starting from the beginning of the tape...
>>>
>>>
>> I think it's because the volume is appendable, and bacula generally tries to
>> avoid purging volumes as long as it can avoid doing so. That's a part of
>> the
>> design philosophy even though it's counter-intuitive. All of the retention
>> settings tell bacula when it MAY recycle volumes that have had all jobs
>> purged from them, not when it MUST. By holding off on recycling volumes
>> bacula keeps your data in the volumes as long as possible, providing
>> more "fall-back positions" in case of "Oh $excrement" situations.
>>
>>
>
> :) The design philosphy makes a great deal of sense. Have used a Use
> Duration directive to set tapes
> to 'used' status after use.
>
>
I had a failure setting the tape status to used, if I were to use
Maximum Volume Jobs I would have the same error I believe, as the manual
states the tape can no longer be used for appending data. Like setting
UseVolumeOnce = yes and the status Full. (status 'recycle' and 'append'
do allow the tape to be recycled) I have used the below and the jobs
have started:
Pool {
Name = Thursday
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Use Duration = 22h
Volume Retention = 5 days
}
I think setting VolumeUseDuration is safer in this case, there is only
one tape in the pool, this leaves the tape ready to be recycled but
updated the tape status to used but the catalogue is updated _only_ when
the next job that used the tape runs, so in this case for the rest of
the week the catalogue status of the volume remains as 'append' so the
job is able to start next week, as the job starts bacula changes the
status to 'used' therefore the tape is written from the start not from
the end of the previous job/run and the cycle continues - that is my
interpretation.
Volume retention ensure that the records in the catalogue are pruned
next week and so I have an accurate record of files available - I think...
Damian
--
Damian Brasher
Systems Admin/Prog
OMII-UK ECS
Southampton University
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users