Bacula-users

Re: [Bacula-users] Manually running a scheduled job?

2009-03-17 02:33:28
Subject: Re: [Bacula-users] Manually running a scheduled job?
From: Kevin Keane <subscription AT kkeane DOT com>
Date: Mon, 16 Mar 2009 23:18:04 -0700
terryc wrote:
> Kevin Keane wrote:
>   
>> Is there a way in bconsole to run a job from a schedule?
>>     
>
> enter "run" and chose fom the list of jobs defined in bacula-dir.conf
>   
>> Of course I could use the run command, and then modify all the 
>> parameters. But what I'd like to be able to do is instead to pick a 
>> schedule entry and have it run with all the values configured the way 
>> the schedule would configure them.
>>     
>
> Err, AFAIUII they are. What specifically doesn't happen?
>   
When I use the run command to start a job:

- Level is Incremental. I think this does get upgraded automatically if 
there is no Full.
- Client is correct (since it is directly tied to the job)
- File set is correct (since it is directly tied to the job)
- Pool is default for the job (even though I have a Full Backup Pool, 
Differential Backup Pool and Incremental Backup Pool specified).
- Storage comes from the Job resource. I override it in the Schedule.

The two biggest items for me are the Pool and the Storage.
>> There are several situations where I'd love to be able to do this. 
>> First, it would allow testing the schedule. Second, if bacula decides to 
>> upgrade the level from Incremental to Full, with the command line 
>> version there is, to my knowledge, no way to have it automatically also 
>> change the pool correspondingly.
>>     
>
> In JobDefs{
>
> Full Backup Pool = Full-Tapes
> Incremental Backup Pool = Inc-Tapes
>
> }
>
> Is that what you want?
Yes - except that it doesn't seem to work for manually-run jobs. It 
always uses the Pool specified with Pool = And that's hardly surprising 
because at the time bconsole asks for the information, it does not yet 
know if the job will be upgraded.

This problem is compounded when you use the schedule rather than the job 
to override the pool, for instance to switch hard disks.

-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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>