Veritas NetBackup™ Commands Reference Guide
- Appendix A. NetBackup Commands
bpplschedwin — used to add or modify schedule windows.
policy_name sched_label [-verbose] [-M master_server,...] [-generation generation] [-reason string] [-0..6 seconds_past_midnight duration_seconds]
On UNIX systems, the directory path to this command is /usr/openv/netbackup/bin/admincmd/
On Windows systems, the directory path to this command is install_path\NetBackup\bin\admincmd\
Use the bpplschedwin command add new schedule windows or modifies the current schedule windows. Use the bpplsched command to list the schedule information and determine if the change was successful.
- -0..6 seconds_past_midnight duration_seconds
Use this combination of three numbers to define the day, start time, and duration of the schedule window.
The first number indicates the day of the week: -0 is Sunday, -1 is Monday, -2 is Tuesday, -3 is Wednesday, -4 is Thursday, -5 is Friday, and -6 is Saturday.
The seconds_past_midnight number indicates the start time. It is specified as the number of seconds after midnight. For example, 5:00 A.M. is 18000 seconds past midnight.
The duration_seconds value is the number of seconds past the start of the window. So 3600 is one hour. The minimum duration value for a deployment schedule is 300 seconds. You cannot specify a duration value larger than 8553600 seconds for a deployment schedule.
- -generation generation
Ensures that the command acts on a specific generation or version of a policy. The generation value increments each time a policy is saved. Use the bpplinfo command or the bppllist command to list the current generation value. If no generation is indicated, the command acts on the current version.
- -M master_server,...
This comma-separated list of host names specifies alternative master servers. If this option is included, each master server in the list runs the bpplschedwin command. Each master server in the list must allow access by the system that issues the bpplschedwin command. If this option is used, the command is run on each master server in the list. If an error occurs for any master server, the process terminates at that point.
The name of the policy that contains the schedule you want to add or modify. The policy must exist before you run this command. This option must be the first one on the command line.
- -reason "string"
If this option is specified, it indicates why the schedule was added or modified. The text string that is entered is captured and appears in the audit report. This string must be enclosed in double quotes ("..."). The string cannot exceed 512 characters. It cannot begin with a dash character (-) or contain a single quotation mark (').
The name of the schedule that contains the window being added or modified. The schedule must exist before you run this command. This option is required and must follow the policy_name option in the command line.
Selects the verbose mode. This option is only useful if debug logging is enabled. This option causes bpplschedwin to log additional information into the NetBackup administration debug log. The NetBackup administration debug log is found at
install_path\NetBackup\logs\adminon Windows and
/usr/openv/netbackup/logs/adminon UNIX and Linux.
Example 1: Modify sched3 deployment schedule in the dpol1 policy to start on 5/30/2018 at 5:00 A.M. and end on 6/2/2018 5:00 A.M.
# bpplschedwin dpol1 sched3 -0 0 0 -1 0 0 -2 0 0 -3 18000 259200 -4 0 0 -5 0 0 -6 0 0 # bpplsched dpol1 -label sched3 SCHED sched3 6 1 604800 1 0 0 0 *NULL* 0 1 0 0 0 0 -1 0 0 SCHEDCALENDAR SCHEDCALIDATES 1528223400 1528309800 1528396200 SCHEDWIN 0 0 0 0 0 0 18000 259200 0 0 0 0 0 0 SCHEDRES *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* SCHEDPOOL *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* SCHEDRL 1 1 1 1 1 1 1 1 1 1 SCHEDFOE 0 0 0 0 0 0 0 0 0 0 SCHEDSG *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL*