Bacula-users

Re: [Bacula-users] Change order of when a backup is run

2015-10-29 00:07:17
Subject: Re: [Bacula-users] Change order of when a backup is run
From: Craig Shiroma <shiroma.craig.2 AT gmail DOT com>
To: Bill Arlofski <waa-bacula AT revpol DOT com>, wanderleihuttel AT gmail DOT com
Date: Wed, 28 Oct 2015 18:02:55 -1000
Thank you, Wanderlei and Bill !  I appreciate the help.

I thought about changing the job priority.  However, Bill as you mentioned, I read the caveat in the manual about the lower priority jobs having to wait until the higher priority ones finish.  This won't work for my situation because some of these jobs run for 12 hours.  At the moment, changing the job schedule is difficult because of the way we are set up.  But, I guess I'm going to have to figure out way around this.

Thanks again!
-craig

On Wed, Oct 28, 2015 at 4:28 PM, Bill Arlofski <waa-bacula AT revpol DOT com> wrote:
On 10/28/2015 07:23 PM, Craig Shiroma wrote:
> Hello,
>
> Currently, all my backups start at a certain time of the day.  The order in
> which Bacula runs them appears to be alphabetically.  I have some long running
> backups.  I was wondering if there is a way to start these jobs first instead
> of wait until it's their turn alphabetically without having to put them on a
> different schedule?
>
> Best regards,
> Craig

Hi Craig,

You can set the priority of the jobs to a lower number, making them a higher
priority (default Priority is 10). If they are using the same schedule and
start at the same time as the other jobs, the jobs with a higher priority will
run first.

But, the caveat is that all other jobs of a lower priority (or different
priority even) will wait until these jobs with a higher priority finish.

Take a look at the "Priority" and the "AllowMixedPriority" Job options to see
why you may (or may not) want to use priorities in your jobs.

Another option is to create different schedules and assign the jobs you want
to start first to a schedule that runs earlier.

Hope this helps.

Bill


--
Bill Arlofski
http://www.revpol.com/bacula
-- Not responsible for anything below this line --

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users