DELETE RETRULE (Delete a retention rule)
Use this command to delete a retention rule. If retention sets that were created by the retention rule exist on the system, you cannot delete the retention rule.
Tip: If you cannot delete the retention rule, you can deactivate it instead by issuing
the UPDATE RETRULE command and setting the ACTIVE
parameter to No. When ACTIVE is set to No, the IBM Spectrum® Protect server no longer creates retention sets from that
retention rule.
Privilege class
To issue this command, you must have system privilege or unrestricted policy privilege.
Syntax
Parameters
- retrule_name (Required)
- Specifies the name of the retention rule to be deleted. The maximum length of the name is 64 characters.
Example: Delete a retention rule
Delete a retention rule that is named RULE1.delete retrule rule1
Related commands
Command | Description |
---|---|
DEFINE RETRULE | Defines a retention rule. |
UPDATE RETRULE | Changes the attributes of a retention rule. |
RENAME RETRULE | Renames a retention rule. |
QUERY RETRULE | Displays information about retention rules. |