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 (/).
For more information, see the section "About the NetBackup command line options to configure immutable and indelible data" in the NetBackup Deduplication Guide.
To view the backup images with a retention lock
- Open an SSH session to the server as the msdpadm user.
- Run the following command:
retention policy list
You can disable the retention lock on a backup image if the appliance instance is in enterprise lockdown mode. You cannot disable the lock if the appliance instance is in compliance lockdown mode.
To disable the retention lock
- Open an SSH session to the server as the msdpadm user.
- 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.