Bacula-users

Re: [Bacula-users] closing tape upon completion.

2009-01-13 11:17:16
Subject: Re: [Bacula-users] closing tape upon completion.
From: Pascal Clermont <pascal-list AT LEXUM.UMontreal DOT CA>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 13 Jan 2009 11:15:12 -0500
John Drescher wrote:
> On Tue, Jan 13, 2009 at 10:57 AM, Timo Neuvonen <timo-news AT tee-en DOT net> 
> wrote:
>>> Is it possible to have bacula close a tape once last job is run
>>> (backupcatalog in my case)?
>>>
>>> currently it leaves tapes on a "APPEND" status, then bacula wants to
>>> reuse the tape instead of taking a new one in the library.
>>>
>> Easiest way (before knowing what you mean with "last job") might be defining
>> for how long time Bacula may use the same tape, starting from first write
>> (after recycling). For example, if your jobs (from "first" to "last") take a
>> maximum of 3 hours, you could set max volume use duration (check the correct
>> syntax from manual) to, say, 6 to 12 hours. While this time has expired
>> (next day?), Bacula will take another tape from the library.
>>
> That sounds better than my answer. Since mine will only allow 1 job run...
> 
> John
this is what I use, but on the next bacula run, bacula kept wanting to
load the tape prior to take into consideration that the tape was past
the expiration time of usage.

The big issue is the fact that the tape is no longer in the library 
since it is gone for safe keeping. So bacula finishes by dieing, until I 
restart it and manually mark the tape as "full".

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users