Bacula-users

Re: [Bacula-users] Prevent new jobs from being scheduled while old jobs hasn't finished

2011-05-21 05:04:32
Subject: Re: [Bacula-users] Prevent new jobs from being scheduled while old jobs hasn't finished
From: "J. Echter" <j.echter AT elektro-mayer-echter DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Sat, 21 May 2011 10:58:18 +0200
Am 21.05.2011 10:57, schrieb Guenter Bartsch:
> hi everyone,
>
> i have a question about bacula job scheduling. I have a pretty simple
> schedule for my backup: do a full backup at the beginning at the month
> and then incremental ones every day:
>
>
> Schedule {
>    Name = "DefaultCycle"
>    Run = Incremental mon-sun at 23:05
>    Run = Full 1st sun at 23:05
> }
>
> now, the problem with this schedule is that full backups often take
> several days to complete. during that period if (for various reasons)
> no previous full backup is available, new incremental backups get
> scheduled and automatically promoted to full backups since no full
> backup exists. is there a way to tell bacula not to schedule new jobs
> unless the previous job from the same schedule has finished?
>
> thanks and best regards,
>
>     guenter
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
Hi,

you could use Priorities.

Full Backup Priority = 1
Incremental Priority = 2

Priority 2 will always wait for Priority 1 Jobs to finish.

Have a look at the Job Resource.

Cheers.

Juergen

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users