Edit a policy
Policy can be modified in all components to match changing needs.
Note:
Editing a policy sets the user as the new owner.
To edit a policy in Horizon do the following steps:
On the Horizon console, navigate to NBOS Backups > Policies.
Identify the policy to be modified.
Click drop-down.
Click .
Modify the policy as desired. All parameters except policy type can be changed.
Click .
usage: nbosjm
policy-modify [--display-name <display-name>]
[--display-description <display-description>]
[--instance <instance-id=instance-uuid>]
[--jobschedule <key=key-name>]
[--metadata <key=key-name>]
[--policy_attribute_id <policy_attribute_id>]
<policy-id>
--display-name Optional policy name. (Default=None)
--display-description Optional policy description. (Default=None)
--instance <instance-id=instance-uuid> Specify an instance to include in the policy. Specify option multiple times to include multiple instances. Instance-id: Include the instance with this UUID
--jobschedule <key=key-name> Specify following key value pairs for job schedule Specify option multiple times to include multiple keys. If you don't specify timezone, then by default it takes your local computer timezone "start_date" : "06/05/2014" "end_date" : "07/15/2014" "start_time" : "2:30 PM" "interval" : "1 hr" "retention_policy_type" : "Number of Snapshots to Keep" or "Number of days to retain Snapshots" "retention_policy_value" : "30"
--metadata <key=key-name> Specify a key value pair to include in the policy type metadata Specify option multiple times to include multiple keys. key=value
--policy-attribute-id <policy_attribute_id> ID of the policy attribute to assign.
<policy-id> ID of the policy to edit.