Managing images with a retention lock on a WORM storage server
The backup images on a WORM storage server have a retention lock based on the retention policy. The retention lock prevents the images from being modified or deleted. Use the following procedures to manage the backup images with a retention lock from the deduplication shell.
Note:
You can also run the catdbutil command in the shell to manage the images. This command does not appear in the shell menu, but you can run it directly. However, the arguments for the command cannot include path separators (/). See About the NetBackup command line options to configure immutable and indelible data.
To view the backup images with a retention lock
- Open an SSH session to the server as the msdpadm user, or for NetBackup Flex Scale, as an appliance administrator.
- Run the following command:
retention policy list
You can disable the retention lock on a backup image if the appliance is in enterprise mode. You cannot disable the lock if the appliance is in compliance mode.
To disable the retention lock
- Open an SSH session to the server as the msdpadm user, or for NetBackup Flex Scale, as an appliance administrator.
- Run one of the following commands:
To disable the retention lock on a single backup image:
retention policy disable backup_ID="<ID>" copynumber=<number>
To disable the retention lock on multiple backup images with the same copy number:
retention policy batch-disable backupids="<backupid1,backupid2,backupid3,...,backupidn>" copynumber=<number>
You can find the backup ID and the copy number in the output of the retention policy list command.
Note:
This operation supports multi-person authorization. See Multi-person authorization for deduplication shell commands.