I had a tape I wanted to change the retention level. I have many but
this is my first attempt. Here is the info about the image from
bpmedialist
media id = 001314, allocated 08/20/2005 00:10, retention level = 9
File number 1
Backup id = hostname_1124521828
Creation date = 08/20/2005 00:10
Expiration date = INFINITY
Retention level = 9
Copy number = 1
Fragment number = 2
Block size (in bytes) = 65536
I ran this command without errors.
##> bpexpdate -recalculate -backupid hostname_1124521828 -ret 8
Are you SURE you want to recalculate expiration dates on all images
that meet the following criteria:
backupid thegeek.stanford.edu_1124521828
retention will be changed to 8(1 year)
Continue?(y/n)y
##>
I re-run the bpmedialist command
##> bpmedialist -mcontents -m 001314 -U
media id = 001314, allocated 08/20/2005 00:10, retention level = 9
File number 1
Backup id = hostname_1124521828
Creation date = 08/20/2005 00:10
Expiration date = INFINITY
Retention level = 9
Copy number = 1
Fragment number = 2
Block size (in bytes) = 65536
It would appear that the bpexpdate didn't work, even though there
was no error.
Did I issue correct command? Why didn't this work?
thanks