Bacula-users

[Bacula-users] Fwd: Rotation tape problem

2009-12-01 11:27:44
Subject: [Bacula-users] Fwd: Rotation tape problem
From: John Drescher <drescherjm AT gmail DOT com>
To: bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Tue, 1 Dec 2009 11:24:47 -0500
On Tue, Dec 1, 2009 at 11:19 AM, Inno <innop AT voila DOT fr> wrote:
>> Message du 01/12/09 à 16h13
>> De : "John Drescher" <drescherjm AT gmail DOT com>
>> A : innop AT voila DOT fr, "bacula-users" <Bacula-users AT lists.sourceforge 
>> DOT net>
>> Copie à :
>> Objet : Re: [Bacula-users] Rotation tape problem
>>
>>
>> > I need some help. I have a problem with bacula-sd options for a weekly 
>> > tapes rotation.
>> > I have a LTO-4 and bacula 2.4.4-1 on a debian amd64.
>> > Every week I change the tape by another. I have 5 tapes but one slot.
>> > But when I change the tape and i run a backup I have a problem. Bacula 
>> > want the last tape and don't accept the new one. I want configure bacula 
>> > for it load automatically the tape.
>> >
>> > -------------------------------
>> >
>> > Example :
>> >
>> > Monday to Thursday night : Tape-0001 : Backup OK
>> >
>> > Friday : I eject Tape-0001 and I insert Tape-0002
>> >
>> > Friday : I type "bconsole -> status -> storage"
>> > - Response --> "Device is not open"
>> > - Response --> "Used Volume : Tape-0001"
>> >
>> > Friday Night : Tape-0002 : Backup Error
>> >
>> > Friday Night : I type "messages"
>> > - Response --> Error Intput/output
>> >
>> > Friday Night : I type "bconsole -> status -> storage"
>> > - Response --> "Device is blocked and waits mount Tape-0001"
>> > - Response --> "Used Volume : Tape-0001"
>> >
>> > I restart bacula-sd
>> >
>> > I type "bconsole -> status -> storage"
>> > - Response --> "Device is not open"
>> > - Response --> "Used Volume : No used volume"
>> >
>> > And now backup with Tape-0002 it's ok ! :-S
>> >
>> > -------------------------------
>> >
>> > bacula-sd.conf :
>> > Device {
>> >  Name = PV-114
>> >  Media Type = LTO-4
>> >  Archive Device = /dev/st0
>> >  AutomaticMount = yes;
>> >  AlwaysOpen = no;
>> >  RemovableMedia = yes;
>> >  RandomAccess = no;
>> >  Label Media = yes;
>> >  Volume Poll Interval = 2 minutes;
>> > }
>> >
>> > -------------------------------
>> >
>> > Have you got any idea ?
>> >
>>
>> This is the expected default behavior. I mean bacula will always want
>> to use the last volume with the Append status. Putting other volumes
>> in the drive that do not have this status will not force bacula to
>> recycle the current volume. You can set several settings in your
>> configuration to make bacula work the way you want.
>>
>> Please post your Pool resource.
>>
>> John
>
>
> Hi John,
>
> Thanks for your response.
>
> In bacula-dir :
> Pool {
>  Name = Default
>  Pool Type = Backup
>  Recycle = yes
>  AutoPrune = yes
>  Volume Retention = 5 weeks
> }
>
> Forgot options ? :/
>

You probably want to add

Volume Use Duration = 5 days

John



-- 
John M. Drescher

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>