Description
This command associates or dissociates a given schedule policy to a client, iDataAgent, instance, backup set or subclient.
In the case of data protection schedule policies, you can only modify the schedule policies that were created for all agents or a group of agents.
In case of an error, an error code and description are displayed as: "schedulepolicy: Error errorcode: errordescription"
Usage
qmodify schedulepolicy [-cs <commserve_host_name>] -o <add|remove> -scp <schedulepolicy> [-c <client>] [-a <iDataAgent>] [-i <instance>] [-b <backupset>] [-s <subclient>] [-cg <clientgroup>] [-tf <tokenfile>] [-tk <token>] [-h]
Options
-cs |
CommServe host name |
-o |
Operation to be performed on the client group |
-scp |
Schedule policy name |
-c |
Client computer name |
-a |
Agent type installed on the client computer (see Argument Values - Agent Types) |
-i |
Instance name |
-b |
Backup set name |
-s |
Subclient name |
-cg |
Client computer group name |
-tf |
Reads token from a file |
-tk |
Token string |
-h |
Displays help |
Diagnostics
Possible exit status values are:
0 - Successful completion.
1 - CLI usage failures, due to the use of an unsupported option or missing argument.
2 - Any other failure.
Example
-
Associate a schedule policy scp1 with client cl1.
qmodify schedulepolicy -o add -scp scp1 -c cl1
-
Dissociate a schedule policy scp1 from client cl1.
qmodify schedulepolicy -o remove -scp scp1 -c cl1
-
Associate a schedule policy scp1 with client computer group Laptop Clients.
qmodify schedulepolicy -o add -scp scp1 -cg "Laptop Clients"