cancel
Showing results for 
Search instead for 
Did you mean: 

creating schedule from command line

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.
3 Replies

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...

> 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'.

Here is an example of code

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