cancel
Showing results for 
Search instead for 
Did you mean: 

How to increase the retention of a image for its particular copy.

Ashutosh87
Level 1

Hi,

 

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.

 

2 REPLIES 2

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

See : https://www.veritas.com/support/en_US/article.000117798

The command operations are as follows:

-backupid backup_id

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.

Sujay24
Level 4
Employee

Hi,

 

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>