To enable WORM storage lock and Compliance lock on a storage pool, you can use the WORM_storage_Lock.xml and ComplianceLock.xml configuration files respectively.
WORM Storage Lock
The following table displays the parameters you can use with the commands.
|
Element |
Description |
Parent Element |
|---|---|---|
|
isWormStorage |
Enables WORM storage lock on the storage policy copy. Valid values are: 1 (enable) and 0 (disable). Once you enable WORM storage lock, you cannot disable this option on a storage policy copy. |
App_UpdateStoragePolicyCopyReq |
|
wormCopy |
Enables Compliance lock on the storage policy copy. Valid values are: 1 (enable) and 0 (disable). Note You should enable Compliance lock along with WORM storage lock. |
copyFlags |
|
retainBackupDataForCycles |
Number of cycles to retain the data of the copy. Note We recommend you to set this value to 0 because WORM follows retention per days. |
retentionRules |
|
retainBackupDataForDays |
Number of days to retain the data of the copy. |
retentionRules |
Procedure
-
Download the WORM_storage_Lock.xml file and save it on the computer from where the command will be executed.
-
Execute the following command from the <software_installation_directory>/Base folder after substituting the parameter values.
Examples
-
To enable WORM storage lock:
qoperation execute -af downloaded location\UpdateCopy.xml -storagePolicyName SP1 -StoragePolicyCopy/copyname Primary_Global -isWormStorage 1 -wormCopy 1
-
The following message appears when you enable the WORM storage lock.
Important
Increasing retention will apply the new WORM storage lock to new jobs only. Older jobs and baseline data will still have older WORM storage lock. Do you wish to continue?
Compliance LOCK
The following table displays the parameters you can use with the commands.
|
Element |
Description |
Parent Element |
|---|---|---|
|
wormCopy |
Enables WORM copy on the storage policy copy. Valid values are: 1 (enable) and 0 (disable). Once you enable WORM copy option, you cannot disable this option on a storage policy copy. |
copyFlags |
Procedure
-
Download the ComplianceLock.xml file and save it on the computer from where the command will be executed.
-
Execute the following command from the <software_installation_directory>/Base folder after substituting the parameter values.
Examples
-
To enable Compliance lock:
qoperation execute -af downloaded location\UpdateCopy.xml -storagePolicyName SP1 -StoragePolicyCopy/copyname Copy1 -wormCopy 1
-