How to get retention periods of all stored backups
Good Afternoon,
Please forgive any lack of clarity as this is my first post here and am not well experienced in Netbackup . I have been asked to provide a list of backed up data that has a retention period of more than 1 year. Our Netbackup platform has been running for many years and from passed on information I believe we have probably got data with retentions periods of up to 13 years. Is there a way I can produce a list of backups we have stored showing when they were taken and when they will expire. We store backups to disk initially then they are copied off to tape for long term storage after a certain time by SLP's I'm told.
KIndest Regards
Peter
bpimagelist command is your friend.
The command has many options, but if I look at the examples in the Command Ref Guide:
https://www.veritas.com/support/en_US/doc/123533878-127136857-0/v123538598-127136857
the easiest will probably be to add start and end dates to Example 2:bpimagelist-d 01/01/1970 -e 01/04/2020 -U
(So, all unexpired backup until a year ago.)
If the command produces a lot of output, you can redirect the output to a file.