Calendar Based Schedules - Same Date and Same Start Time - Other Schedules Still Run
Hi all.
It's been sooooo long.
Anyway, one of our clients has a NetBackup 8.0 environment running, but encountered the following issue.
Schedule type is calendar based. They have 3 schedules per policy:
1. Daily - Ticked All Dates in month - Start-End-Window 9:00PM-2AM - SLP-Daily
2. Weekly - Ticked Fridays only - Start-End-Window 9:00PM-2AM - SLP-Weekly
3. Monthly - Ticked 1st of each month - Start-End-Window 9:00PM-2AM - SLP-Monthly
The way I understand this priority system is, that the least frequent schedule wins whenever two or more schedules are due to run on the same day and with the same start time.
What actually ends up happening is that, on each Friday, Weekly would run first, but if the jobs complete before 2AM, the Daily schedule would also start its jobs. In a way this makes sense because anytime before 2AM still falls within Daily's window.
Similar things happen to Monthly schedules. On the 1st of every month, the Monthly schedule would run first, and if it finishes before 2AM, the Weekly would also start if it is a Friday. THEN, if it also finishes before 2AM, the Daily also starts next! 3 backups in 1 night, crazy.
Clearly, we don't want more than one schedules to run on the same night!
So I'm just reaching out here for your suggestions.
I could only think of two half-solutions atm:
- Shorten the Start-End-Window from 5 hours to something like 1-2 hour: 9:00PM-10:00PM for all schedules, so that the next schedule waiting to start would unlikely have any backup window left to actually start. (This is not ideal because the guesswork makes this not always 100% accurate, plus there is actually a need for longer backup windows)
- Give up the Calendar type and use the Frequency schedule type. (Not ideal either because you can't select the 1st of each month that uses a special Monthly SLP.)
Sooooo, any ideas on how to optimize this guys?
Thanks all!
RLeon
Hi RLeon,
I think I have the answer for you, and it doesn't involve having to change the Start Windows, only the days you have selected. We do something very similar to what you are trying to do, so here are our schedules showing the Include Days which is what you need to tweak (including screenshots):
- Daily: Monday, Tuesday, Wednesday, Thursday, Saturday and Sunday (Note - NOT Friday)
- Weekly: Every Friday except for the Last Friday of the month
- Monthly: Last Friday of every month
So, by doing this you have the daily/weekly/monthly backup running only on the day they they are supposed to, with no chance of two backups on the same day. One other important thing to note is that we do an "Accelerator forced rescan" on the Monthly backup. This is recommended in the doco. It basically reset your CBT, and does a full re-read of all the data, not just skipping over what it already knows about - so it will make the Monthly backup run a bit longer but worth doing and the Monthly is the perfect time to do it. This is on the Attributes tab as shown below:
Hope this helps,
Steve
why don't you use the "Exclude" tab for selecting days when a backup policy should not run?
like for daily, exclude Fridays and month ends. for weekly, exclude month ends.
but here's the trick, if their month end is on month end (not 1st of every month), they could use the "Include" tab to specify month ends only to ensure month ends runs on month ends.