Bacula-users

[Bacula-users] Antwort: Execution order of scheduled jobs

2009-07-23 10:24:55
Subject: [Bacula-users] Antwort: Execution order of scheduled jobs
From: C.Keschnat AT internet-mit-iQ DOT de
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 23 Jul 2009 16:19:11 +0200
Jeronimo Zucco <JCZucco AT ucs DOT br> wrote on 23.07.2009 15:41:55:

> Jeronimo Zucco <JCZucco AT ucs DOT br>

> 23.07.2009 15:41
>
> An

>
> bacula-users <bacula-users AT lists.sourceforge DOT net>

>
> Kopie

>
> Thema

>
> [Bacula-users] Execution order of scheduled jobs

>
>
> Hi, list.
>
> I'm using bacula 3.0.X with mysql database. My settings of diary  
> backups using the same schedule (it starts all backups on the same  
> time), but I want to run the scheduled backups in a pre-determinated  
> order.
>
> Example: my backups of 20 clients starts at 00:10, but I want run  
> host1 first, then hosts2, host3, etc...
>
> I did'nt find how to do that. I've tried to change the order of my  
> Jobs directive and Client in bacula-dir.conf, but without efect. My  
> question is:
>
> How bacula determine order of execution of scheduled jobs with use the  
> same schedule ? Is it based in a sql query, or order of declaration os  
> some directive in bacula-dir ? What directive ?
>
> Thanks for your help.

You can set priorities in the job definition. Just add Priority = 1 for host1, Priority = 2 for host2 etc. Pay attention to the catalog job. By default it has a priority of 11 which you might need to raise because it should run after all jobs have finished.
------------------------------------------------------------------------------
_______________________________________________
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>