I want to change the retention period of 3rd copy of one of my backup image. Please provide me the command.
bpexpdate -d 09/01/2027 backup_Image will only change the retention for copy one but I want to change it for copy 3. What command should I use.
The command operations are as follows:
Changes the expiration of a single backup. If the date is zero, the backup is removed from the image catalog. If the backup is on removable media and the -d expiration is greater than the current media ID expiration, the media catalog expiration also changes. The change affects all copies of a backup, unless the -copy option is used. The -copy option causes only the specified copy to be affected.
Below is the command to update the retention:-
<install path>\netbackup\bin\admincmd\bpexpdate -backupid <backupid> -d <new expiration date in format as mm/dd/yyyy> -copy <copy number>