Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

bpplschedwin

Updated: 21 May 2010 | 4 comments
reggiej's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

When I set a calendar based schedule in gui then check my debug log I see that the bpplschedwin command does the work, I am trying to understand the parameters it uses and how it works. This is on a Netbackup 6.5.3.1 version running on a Solaris 10 box.

9:20:28.210 [21437] <2> bpplschedwin: VERBOSE = 8
09:20:28.210 [21437] <2> bpplschedwin: INITIATING: version NetBackup 6.5 created
: 2008103100
09:20:28.210 [21437] <2> logparams: reggie reggie_weekly -0 0 0 -1 0 0 -2 0 0 -3
 0 0 -4 0 0 -5 64800 43200 -6 0 0 -M xxxx.xxxx

I uderstand that 64800 converts to a day and 43200 is the start time in seconds. The other parameters I don't understand.

Comments

Stumpr2's picture
05
Feb
2010
1 Vote +1
Login to vote

bpplschedwin -help

# bpplschedwin -help
USAGE: bpplschedwin policy name sched label [-verbose]
           [-M master_server,...] [-generation generation]
           [-(0..6) <seconds past midnight> <duration seconds>]
           [-close <day number (0..6)>]
    used to modify an existing schedule window

reggiej's picture
05
Feb
2010
0 Votes 0
Login to vote

Yeah I got that much too.

Yeah I got that much too. What I am trying to understand is what generation means.

Darren Dunham's picture
05
Feb
2010
0 Votes 0
Login to vote

In your example the "-5"

In your example the "-5" converts to the day of the week (Friday), 64800 is the opening of the start window after that day or 18:00, 43200 is the length of the window (12 hours).

--
Darren

CRZ's picture
08
Feb
2010
1 Vote +1
Login to vote

generation isn't being used in your example - here's your answer

It's pretty much exactly what Stumpr and Darren said - let's apply what they're saying to your log entry.

09:20:28.210 [21437] <2> logparams: reggie reggie_weekly -0 0 0 -1 0 0 -2 0 0 -3 0 0 -4 0 0 -5 64800 43200 -6 0 0 -M xxxx.xxxx

This specifies seven sets of windows; one for each day of the week.

-0 0 0 No window on Sunday
-1 0 0 No window on Monday
-2 0 0 No window on Tuesday
-3 0 0 No window on Wednesday
-4 0 0 No window on Thursday
-5 64800 43200 Open window from 18:00 (aka "64800 seconds after midnight") to 06:00 Saturday (aka "43200 seconds 12 hours") on Friday
-6 0 0 No window on Saturday
-M xxxx.xxxx your master

I don't know what "-generation" is used for (SLP?) but you're not using it here so I can weasel out of telling you THAT answer.  ;-)