Using -window option of SLP for AIR replication to start within particular time period
I am very new to this option of NBU.
We want to run number of AIR jobs and we want replication to start within particular time period.
To achieve this we want to use -window option of SLP.
From reference guide NBU8.0, we found this to achieve this option.
-window start duration
Specifies when NetBackup can run the backups for this schedule. Every day
of the week has the same window.
start is the time at which the backup window opens for this schedule. This time
is the number of seconds since midnight. This number is an integer between
0 and 86399 (86400 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.
We tried below commands to set window option of schedule. Replication is being successful but
this starts earlier than time period we set.
[user@media_server~]# date
Tue Nov 7 20:48:55 IST 2017
[user@media_server~]# /usr/openv/netbackup/bin/admincmd/bpplsched Policy_giler_1 -add Schedule_sopuc_1 -st FULL -synthetic 0 -window 77400 36000
[user@media_server~]# /usr/openv/netbackup/bin/admincmd/bpplsched Policy_giler_1 -L
Schedule: Schedule_sopuc_1
Type: FULL (0)
Frequency: 7 day(s) (604800 seconds)
Excluded Dates----------
No specific exclude dates entered
No exclude days of week entered
Retention Level: 1 (2 weeks)
u-wind/o/d: 0 0
Incr Type: DELTA (0)
Alt Read Host: (none defined)
Max Frag Size: 0 MB
Synthetic: 0
Checksum Change Detection: 0
PFI Recovery: 0
Maximum MPX: 1
Number Copies: 1
Fail on Error: 0
Residence: (specific storage unit not required)
Volume Pool: (same as policy volume pool)
Server Group: (same as specified for policy)
Residence is Storage Lifecycle Policy: 0
Daily Windows:
Day Open Close W-Open W-Close
Sunday 021:30:00 031:30:00 021:30:00 031:30:00
Monday 021:30:00 031:30:00 045:30:00 055:30:00
Tuesday 021:30:00 031:30:00 069:30:00 079:30:00
Wednesday 021:30:00 031:30:00 093:30:00 103:30:00
Thursday 021:30:00 031:30:00 117:30:00 127:30:00
Friday 021:30:00 031:30:00 141:30:00 151:30:00
Saturday 021:30:00 031:30:00 165:30:00 175:30:00 007:30:00
We expected that replication window would open at date
[user@media_server~]# date
Tue Nov 7 21:30:55 IST 2017
But it opening much earlier than expected.
Any help will be useful.
The window flag for the nbstl command is the name of the SLP Window I would assume.
What is your output from this command? bpplsched -slpwindow
So something like the following I would assume would create a new SLP window.
bpplsched SLP_Internal_Policy -add <SLP Window Name> -window <start time end time> -st UBAK -slpwindow
Once the SLP window is created you could do something like the following I would guess.
nbstl -modify <SLP name> -window <SLP Window Name>