Adding a schedule to a exisitng policy using command line
Team,
Need your help on adding & editing a schedule to the existing policies.
I have almost 150+ polices where I need to create a new schedule to all the polices. Instead of GUI I though command line would save my time and also I believe that is the way of smart working. So I started to create a policy using bpplsched command. Got stuck with 2 issues
1) Tring to create a yearly schedule which should be the last Saturday of the year. So I have included the date as "12/30/2016" in the command but in the schedule the date is reflected as " SPECIFIC DATE 0 - 01/07/1970"
./bpplsched <policy_name> -add <shcedule_name> -cal 1 -st FULL -rl 11 -ut -incl 12/30/2016
2) Also I’m try to add the start window for the schedule which throws an error all the time. Need your help with the syntax.
Here is the command which I was trying : (Backup Window should be Start time 6:00AM & End time : next day 22:00)
./bpplsched <policy_name> -add <shcedule_name> -cal 1 -st FULL -rl 11 -ut -incl 12/30/2016 –window 21600
Netbackup version : 7.5.0.7
OS : Solaris
Do let me know if you need any more information to help me on this.