Shedule Windows overlap
- 5 years ago
Here's a tip. To work out the structure, create for yourself a test policy and schedule with run windows of say three hours on a Saturday 10:00 to 13:00, and say four hours on Tuesday 23:00 to 03:00 - and then dump/report/show that schedule in raw form, and then inspect the structure of the numbers, and you'll see what I mean.
The documentation says:
- -(0..6) start duration
-
Specifies the window during which NetBackup can run the backups for this schedule. This window applies to a specific day of the week. 0 corresponds to Sunday, 1 to Monday, and so on.
start is the time at which the backup window opens for this schedule. This time is the number of seconds since midnight. It is an integer between 0 and 86400 (the number of seconds in a day).
duration is the length of time that the window remains open. The time unit is seconds. This unit is a non-negative integer.
.
So, to schedule for Monday 04:00 to 11:00, and for Turesday 05:00 to 07:00, then you need to specify as:
-1 14400 25200 -2 18000 7200
i.e.
-1 = Monday
14400 = 04:00
25200 = 7 hours
-2 = Tuesday
18000 = 05:00
7200 = 2 hours