On 23/03/2020 20:51, Mikael Bertelsen wrote:
I've created my backup schedules for a client, but I'm missing an entry in the DIFFERENTIAL schedule. Let me explain...

My attempt is to create a schedule where I'm doing
* a FULL backup every 1st day of the month
* a DIFFERENTIAL backup every Sunday if it's not the 1st day of the month (where I'm doing the FULL backup) * an INCREMENTAL backup every day except on the 1st day of the month and Sundays (where I'm doing the DIFFERENTIAL backup)

This gives me, as expected, that the 1st of March and the 1st of April (and so on) schedules a FULL backup. And for the DIFFERENTIAL I'm getting the pattern I expect of every Sunday, but I'm not getting the entry for the 29th of March - why is that?

Hi again

I figured out what the problem is - or so I believe.

The definition of changing from Wintertime to Summertime is that on the last Sunday of March at 2am the clock must change to 3am. Apparently this is handled by Bareos by just ignoring all schedules set to start between 2am and 3am on the last Sunday in March (this is my assumption).

The above approach makes sense as you could end up with overlapping jobs if all jobs scheduled between 2am and 3am are to run at the same time as the jobs between 3am and 4am (because of the clock change), and as a worst case scenario end up having all the jobs failing after 2am. But maybe a warning should have been issued when reloading the configuration. Or maybe list the schedule(s) as normal with a warning text suffixed on those schedules that they are being ignored.

I don't know if it's the same problem when changing from Summertime to Wintertime. The definition of this change is that the last Sunday of October at 3am the clock is changed back to 2am. That means, potentially, that all jobs scheduled between 2am and 3am would be run twice if the situation is not handled by Bareos.
I guess this is a question for the developer list.

I moved the schedule listed in the original question from 2am to 1am, and now it appears in the schedule list exactly as I intended.

Best regards,
Mikael Bertelsen

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/1eac5c62-d612-e57a-f198-2ce6a3957ed6%40tuxpower.dk.

Reply via email to