Bacula-users

Re: [Bacula-users] Rotation tape problem

2009-12-01 12:23:46
Subject: Re: [Bacula-users] Rotation tape problem
From: Inno <innop AT voila DOT fr>
To: John Drescher <drescherjm AT gmail DOT com>, bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Tue, 1 Dec 2009 18:20:35 +0100 (CET)
> Message du 01/12/09 à 17h32
> De : "John Drescher" <drescherjm AT gmail DOT com>
> A : "bacula-users" <Bacula-users AT lists.sourceforge DOT net>
> Copie à : 
> Objet : [Bacula-users] Fwd:  Rotation tape problem
> 
> 
> 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

Thanks it's a good idea but imagine this case :
- Incremental backup run Saturday night to Thursday night.
- Full backup run Friday night.
- A person who doesn’t know bacula, changes manually the tape on Friday.

If I put this option in Pool resource :
- Volume Use Duration = 7 days

Imagine my company close exceptionally Friday. It's impossible for the person 
to change the tape. Also we have not a Full Backup of the week because tape is 
in status "Used". Consequently the person change tape on Monday the "Volume Use 
Duration" move and after it's impossible to change tape on Friday. 

Do you understand my problem ?

Maybe if an option exists to unused the volume (by bconsole) I can create a 
crontab ? Or unused the volume after all jobs ?

Thank you very much.

Innop.

____________________________________________________

Michael Jackson, Susan Boyle, Black Eyed Peas ... Retrouvez leurs derniers 
titres sur http://musiline.voila.fr




------------------------------------------------------------------------------
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>