On Mon, Oct 31, 2016 at 02:03:33PM +0100, Alberto Brosich wrote:
> Hello,
> 
> is there a way to define a schedule that skips backups on specific dates
> (e.g. on public holidays)?
> I'm not able to find anything in the documentation.
> 
> Regards

I ended up defining schedule with "holes" in it for my needs:

Schedule {
  Name = "WeeklyCycle"
  Run = Full w01 sun at 22:05
  Run = Full w26 sun at 22:05
  Run = Incremental w02-w25 sun at 22:05
  Run = Incremental w27-w53 sun at 22:05
  Run = Incremental mon-sat at 22:05
}

This example runs full backup on the Sunday of the first week of the
year (first Sunday in January), and then on the Sunday of 26th week
(that ends up being last week in June most of the times), and every
other day it runs an Incremental Backup. Every Sunday except the ones
I want to run a full backup is covered by two lines "w02-w25 sun" and
"w27-w53 sun", and then every other day is covered by "mon-sat" line.

So for your case you you will have to write a Schedule that excludes
all bank holidays, be there fixed, or "First Monday of May" (my
understanding of bacula's syntax is that it is flexible enough to do
that).

If there is a better way of doing it I would like to know it as well!

Misha

-- 
Vanush "Misha" Paturyan
Senior Technical Officer
Room 120
Computer Science Department
Eolas Bulding
Maynooth University
Maynooth

ext: 4539

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to