Hi, we intentionally set the retention period of a bunch of tapes to infinity using the "bpexpdate -ev <tapeID> -d infinity command".
Now we want them to be reset back to the original expiry dates (a 3 month retention).
I've reset the expiry dates of the backups back to 3 months using "bpexpdate -recalculate -backupid <backupid> -ret 5", which has set the IMAGES expiry date back to what they were, which is fine, but I notice the expiry date of the MEDIA is still 1/1/2038...in other words, the backups will expire from the images database, but the tapes will never expire from the media database, so we'll end up with lots of tapes sitting there, with no valid backups on them, unavailable for use.
Is there a command (or bpexpdate option) that I can use to change the expiry date of the media back to match the expiry date of the longest-kept backup image on that media? Without me having to manually work out and enter a specific date? There are too many tapes for me to have to do it manually...
TIA
M
Now we want them to be reset back to the original expiry dates (a 3 month retention).
I've reset the expiry dates of the backups back to 3 months using "bpexpdate -recalculate -backupid <backupid> -ret 5", which has set the IMAGES expiry date back to what they were, which is fine, but I notice the expiry date of the MEDIA is still 1/1/2038...in other words, the backups will expire from the images database, but the tapes will never expire from the media database, so we'll end up with lots of tapes sitting there, with no valid backups on them, unavailable for use.
Is there a command (or bpexpdate option) that I can use to change the expiry date of the media back to match the expiry date of the longest-kept backup image on that media? Without me having to manually work out and enter a specific date? There are too many tapes for me to have to do it manually...
TIA
M