SET ARCHIVERETENTIONPROTECTION (Activate data retention protection)
Use this command to activate and deactivate archive data retention protection. The server cannot contain any data in order for this command to work. At installation, the value is set to OFF.
When archive data retention protection is active:
- Only archive copies can be stored on the server.
- No archive copy can be deleted until the RETVER parameter in the DEFINE COPYGROUP (archive) command is satisfied.
Defining storage pools of type RECLAMATIONTYPE=SNAPLOCK is only supported on servers with data retention protection enabled.
Use the QUERY STATUS command to display the status of archive data retention protection.
Privilege class
To issue this command you must have system privilege or unrestricted storage privilege.
Parameters
- OFf
- Specifies that archive data retention protection is not active.
- ON
- Specifies the archive data retention protection is active.
Example: Activate data retention protection
Activate archive data retention protection by issuing the following command:set archiveretentionprotection on
Related commands
Command | Description |
---|---|
ACTIVATE POLICYSET | Validates and activates a policy set. |
AUDIT VOLUME | Compares database and storage pool information, and optionally, resolves any inconsistencies. |
DEFINE COPYGROUP | Defines a copy group for backup or archive processing within a specified management class. |
DEFINE VOLUME | Assigns a volume to be used for storage within a specified storage pool. |
DELETE FILESPACE | Deletes data associated with client file spaces. If a file space is part of a collocation group and you remove the file space from a node, the file space is removed from the collocation group. |
QUERY COPYGROUP | Displays the attributes of a copy group. |
QUERY STATUS | Displays the settings of server parameters, such as those selected by the SET commands. |
UPDATE COPYGROUP | Changes one or more attributes of a copy group. |