Jeronimo Zucco <jczu...@ucs.br> wrote on 23.07.2009 15:41:55: > Jeronimo Zucco <jczu...@ucs.br> > 23.07.2009 15:41 > > An > > bacula-users <bacula-users@lists.sourceforge.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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users