Edit the policy attribute
To edit a policy in Horizon follow these steps:
Log on to Horizon using admin user.
Navigate to Admin > NBOS Backup Admin > NetBackupOpenStack > Policy Attributes.
Identify the policy to edit.
Click at the end of the line of the chosen policy.
Edit the policy attribute as desired - all values can be changed.
Click .
nbosjm policy-update [--display-name <display-name>]
[--display-description <display-description>]
[--policy-attribute-fields <key=key-name>]
[--metadata <key=key-name>]
<policy_attribute_id>
--display-name <display-name> Name of the policy attribute.
--display-description <display_description> Optional policy attribute description. (Default=No description)
--policy-attribute-fields <key=key-name> Specify following key value pairs for policy fields. Specify option multiple times to include multiple keys. "interval" : "1 hr" "retention_policy_type" : "Number of Snapshots to Keep" or "Number of days to retain Snapshots" "retention_policy_value" : "30" "fullbackup_interval" : "-1" (Enter Number of incremental snapshots to take Full Backup between 1 to 999, "-1" for "NEVER" and "0" for "ALWAYS") For example - policy-attribute-fields interval="1 hr" - policy-attribute-fields retention_policy_type="Number of Snapshots to Keep" - policy-attribute-fields retention_policy_value="30" - policy-attribute-fields fullbackup_interval="2"
--metadata <key=keyname> 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> The name the policy will get.