Bacula-users

Re: [Bacula-users] volume management & holidays

2009-05-27 12:16:50
Subject: Re: [Bacula-users] volume management & holidays
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 27 May 2009 17:12:48 +0100
>>>>> On Wed, 27 May 2009 15:44:07 +0200, Olaf Zevenboom said:
> 
> Basically I think I have the following options:
> 1. Have a admin job call a script which enables/disables volumes 
> comparing dates with holiday dates to be run in advance of every backup 
> session.
> Requires extensive scripting and does not allow for manual disablement 
> of volumes.
> 2. Move a week pool definition to system where every day has it's own Pool.
> Not difficult. Just many extra lines in bacula-dir.conf and requires 
> catalog maintenance.
> 3. add to my config: Recycle Current Volume = yes
> 
> I think that is also the sequence of options which requires most work to 
> the least work.
> Option 2 sounds the safest.
> However on the subject of option 3:
> Will it honor retention times:

Yes, Recycle Current Volume = yes does honor retention times.  It also only
recycles if the current volume is marked as Full or Used.


> If for instance tape "Monday" is inserted on Tuesday will Bacula error 
> and demand the Tuesday-volume/tape to be inserted or will it overwrite 
> the Monday tape although the Monday-volume-retentiontime is not yet reached?

No, it will append to the Monday tape, which I assume is what happens with
your current configuration as well.

If you want Bacula to demand the Tuesday tape, then you will need to use
option 1 or 2.

__Martin


> Martin Simmons wrote:
> >>>>>> On Tue, 26 May 2009 15:17:50 +0200, Olaf Zevenboom said:
> >>>>>>             
> >> Dear List,
> >>
> >> We have got a single-slot tapedrive and therefor do not have the luxury 
> >> of letting Bacula decide which volume/tape to use. So our configuration 
> >> forces Bacula to use a Monday-volume(tape), a Tuesday-volume(tape) etc. 
> >> I have implemented a RunBeforeJob which checks if the current date is a 
> >> holiday or not and forces the backup to be canceled if needed.
> >> However this leads to the need of multiple manual interventions as soon 
> >> as the holidayperiod has ended: when a pool of volumes is pruned for 
> >> instance the Monday volume gets pruned and on Tuesday (not being a
> >> holiday) Bacula want the oldest available volume being the Monday 
> >> volume. The next day same issue. This obviously continues until the 
> >> retention-period in that pool is reached again.
> >>
> >> How can I let Bacula skip that volume one more entire retention period 
> >> (through a script)?
> >>     
> >
> > Have you tried adding
> >
> > Recycle Current Volume = yes
> >
> > to the pool?
> >
> > Alternatively, you could have a pool for each day of the week.
> >
> > __Martin
> >
> > ------------------------------------------------------------------------------
> > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
> > is a gathering of tech-side developers & brand creativity professionals. 
> > Meet
> > the minds behind Google Creative Lab, Visual Complexity, Processing, & 
> > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
> > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
> > _______________________________________________
> > Bacula-users mailing list
> > Bacula-users AT lists.sourceforge DOT net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> >   
> 
> 
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, & 
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
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>