How can I edit tapes already set to expire INFINITY?
Created: 07 Feb 2013 | Updated: 08 Feb 2013 | 5 comments
This issue has been solved. See solution.
I have recently taken over maintenance of a previously configured NetBackup 6.5.5 server. There are numerous tapes that have their expiration date set as INFINITY, which obviously means that they will never expire. Management has recently agreed a new retention policy that will allow me to expire tapes in months rather than years, although some with classified data will still need to be kept for 7 years from the date of backup.
How can I update these tapes to change the expiration date from INFINITY to something more realistic?
Discussion Filed Under:
Comments 5 Comments • Jump to latest comment
You can set new expiration date using bpexpdate command.
For all images in specified medium, use "bpexpdate -m media_ID -d new_exp_date".
For individual images, use "bpexpdate -backupid backup_ID -d new_exp_date".
If you want not to confirm the operation each time, add "-force" option.
Authorized Symantec Consultant(ASC) Data Protection in Tokyo, Japan
bpexpdate -m <media id> -d <date>
Where date is of the format <mm/dd/yyyy HH:MM:SS
Martin
Date format depends on locale. It is better to confirm the format by "bpexpdate --help".
Authorized Symantec Consultant(ASC) Data Protection in Tokyo, Japan
Follow Yasuhisa commands and be sure to use the -force if you have a long list of media so that you dont have to keep hitting the carriage return.....I mean the enter key :-)
Many thanks for the fast response. This will save me a small fortune in LTO3 tapes!
Would you like to reply?
Login or Register to post your comment.