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.

creating schedule from command line

Updated: 24 Jun 2010 | 3 comments
reggiej's picture
0 0 Votes
Login to vote

We are in the process of converting to Netbackup 6.5.3.1 from another bAckup product  and I am trying to script as much as possible
I am trying to create a calendar based schedule from the command line,  One thing I notice is that when I issue

/usr/openv/netbackup/bin/admincmd/bpplsched test4 -add test4_weekly -st FULL -rl 4 -cal 1

/usr/openv/netbackup/bin/admincmd/bpplschedrep test4 test4_weekly -weekday Saturday 5

It creates a Schedule on the last Saturday of every month regardless if it is week 4 or week 5. Is there a command line way to prevent this from happenning? I only want the schedule for months that have a 5th Saturday.

Comments

Deepak W's picture
20
Dec
2009
1 Vote +1
Login to vote

For this you can refer to the

For this you can refer to the bpschedule command in below guide...

http://seer.entsupport.symantec.com/docs/290234.htm

Hope this helps...

-- Deepak W (Kindly close the thread if your query is resolved)

lu's picture
21
Dec
2009
0 Votes 0
Login to vote

Here is an example of code

oops.. wrong reply deleted, see below...

lu's picture
21
Dec
2009
0 Votes 0
Login to vote

> Is there a command line way

> Is there a command line way to prevent this from happenning? I only want the schedule for months that have a 5th Saturday.

I don't think that's possible with bpplschedrep, you'll need to check if there's a 5th saturday with your favorite programming language and add exclude dates with '-excl'.