You can work with schedule policies from the command line by:
-
Using XML Templates
For example you can use the all_sched_policy_associations.xml file to view the details of your schedules or schedule policies. For more information, see Viewing Details of a Schedule or Schedule Policy Using the Command Line Interface.
-
Using qcommands
Use the qmodify command to associates or dissociates a given schedule from a client, agent, instance, backup set, or subclient. For more information, see qmodify schedule policy.
-
Using Save As Script
You can select the necessary options from the CommCell Console and save them as a script file, which can later be executed from the command line using the qoperation execute command. For information on Save As Script, see Save as Script Overview.