Bacula-users

Re: [Bacula-users] New server, new questions: umlaute and confusion with changing a client's pool

2010-11-16 08:53:21
Subject: Re: [Bacula-users] New server, new questions: umlaute and confusion with changing a client's pool
From: Oliver Hoffmann <oh AT dom DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 16 Nov 2010 14:49:20 +0100
Am Mon, 15 Nov 2010 18:43:39 GMT
schrieb Martin Simmons <martin AT lispworks DOT com>:

> >>>>> On Mon, 15 Nov 2010 03:56:38 +0100, Oliver Hoffmann said:
> > 
> > > >>>>> On Thu, 11 Nov 2010 16:18:14 +0100, Oliver Hoffmann said:
> > > > 
> > > > I had the following problem with 3.0.2 as well as now with
> > > > 5.0.2 (runs on ubuntu 10.10). When I change the pool and
> > > > accordingly the storage device of a client, then the job won't
> > > > run because the scheduled volume is marked *unknown*.
> > > 
> > > Seeing *unknown* in the output of "status dir" is normal, until
> > > it can decide which volume to use.
> > 
> > When I saw volumes in state *unknown* then the belonging jobs were
> > never running, because it was always the result of those pool
> > confusions.
> > 
> > > Saying "the job won't run" doesn't give much idea what is
> > > happening.  I suggest you post the complete job log and config.
> > > 
> > > 
> > 
> > Sorry. Can't reach the server right now. But the problem is that
> > changing the pool (and storage device) seems to be ok but it never
> > is. So I wonder where else is the definition of a job's pool?
> > 
> > > >                      If I start the job manually everything is
> > > > fine.
> > > 
> > > Maybe the schedule overrides some parameters, which break it?
> > > 
> > 
> > How can a schedule override it? On the other hand it must have
> > something to do with it. Any ideas? 
> 
> The Run line in the schedule can override it with something like
> 
>   Run = Level=Full Pool=MonthlyPool Storage=TapeStorage 1st sun at
> 2:05
> 

Thank you for opening my eyes ;-)
That was the indeed the sticking point.

> 
> > Or let's put it this way. What do I need to do to change the pool
> > of a job? I thought that I search the appropriate job definition in
> > bacula-dir.conf and change "Pool = pool1" to "Pool = pool2" and
> > "Storage = raid1" to "Storage = raid2"*, save and it's done, isn't
> > it?
> 
> Yes, that should be all that you need as long as the schedule isn't
> setting it.
> 
> __Martin
> 
Cheers,

Oliver

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users