Deleting the immutable image with the enterprise mode
You can delete the immutable image with the enterprise mode retention lock.
To delete the immutable image with the enterprise mode
- Export the environment variables MSDPC_ACCESS_KEY, MSDPC_SECRET_KEY of the cloud administrator.
export MSDPC_ACCESS_KEY=<your access key id>
export MSDPC_SECRET_KEY=<your secret key>
- Run the following command to find the backup ID and copy number.
catdbutil --worm list --allow_worm
- Unlock the retention lock.
catdbutil --worm disable --backupid ${my_backup_id} --copynum ${my_copy_num} --allow_worm
- Expire the WORM image by using the NetBackup command on the NetBackup primary server.
bpexpdate -backupid ${my_backup_id} -d 0 -try_expire_worm_copy -copy ${my_copy_num}