cancel
Showing results for 
Search instead for 
Did you mean: 

bpexpdate to extend the expiry date?

W_M_Wong
Level 4
Dear All,

I have some images that have retention period of 1 year, can I use

bpexpdate -backupid -d

to extend the expiry date of the images to 5 years retention?

Thanks for helping
6 REPLIES 6

Deepak_Bhalwank
Level 5
Hi,
I never done that but I guess you will have to use
bpexpdate -recalculate -d date |0|infinity] ]

Br,
Deepak.

Chia_Tan_Beng
Level 6
Yes, that's normally what I did for those images which the end-user request for expiry extension. The only concern is that you have to find the correct backup id.

W_M_Wong
Level 4
Hi Tan Beng,

Thanks for the information.

Do I need the tape media to be physically in the tape library before I can run the bpexpdate command to extend the expiry date?

Thank you.

Stumpr2
Level 6
bpexpdate only runs against the NetBackup database. The physical location of the tape does not matter. This is true for expiring or recalculating image retention.

Ankur_Kumar
Level 5
Dear Wong,
You can use the following string to modify the retention level

bpexpdate -backupid -d


bpexpdate -recalculate -backupid -ret

You can get the backup id on using the command bpimmedia for the mieda id on which the corresponding backup images are existing,

Thanks and regards
Ankur kumar

Ankur_Kumar
Level 5
Dear Wong,

The bpexpdate command can cause catalogue corruption resulting in a loss of data if the image whose retention we are suppossed to modify has two copies of itself.

A workaround to the problem is to use the bpexpdate once more with the -copy < copy_number> switch next to the bpexpdate command being fired for the first time.