07-03-2019 12:23 AM
Hi Guys,
I am working on Veritas Netbackup 8.1.2.
Command or GUI to Display Backup Image Report for All Media Servers and All Clients backup running Date/Time Range between:30 Jun, 2019 1:00:00PM to 1 July, 2019 10:00:00 AM
I want to see Backup Image Expiry date all my clients for that specific time range.
Thanks.
Solved! Go to Solution.
07-03-2019 01:34 AM
hey
so here it goes
bpimagelist -d 06/30/2019 13:00:00 -e 07/01/2019 10:00:00 -U
07-03-2019 08:17 AM
Quebec's answer will work, the following will give you something that you can use more easily in excel.
bpimagelist -d 06/30/2019 13:00:00 -e 07/01/2019 10:00:00 -l | grep IMAGE
of if it's Windows
bpimagelist -d 06/30/2019 13:00:00 -e 07/01/2019 10:00:00 -l | findstr IMAGE
And here is a link to decrypt what all the fields mean
https://www.veritas.com/support/en_US/article.100017904
You can also do this via API now but that's a different story :)
07-03-2019 01:34 AM
hey
so here it goes
bpimagelist -d 06/30/2019 13:00:00 -e 07/01/2019 10:00:00 -U
07-03-2019 08:17 AM
Quebec's answer will work, the following will give you something that you can use more easily in excel.
bpimagelist -d 06/30/2019 13:00:00 -e 07/01/2019 10:00:00 -l | grep IMAGE
of if it's Windows
bpimagelist -d 06/30/2019 13:00:00 -e 07/01/2019 10:00:00 -l | findstr IMAGE
And here is a link to decrypt what all the fields mean
https://www.veritas.com/support/en_US/article.100017904
You can also do this via API now but that's a different story :)
07-04-2019 02:13 AM - edited 07-04-2019 02:18 AM
Hi,
Thanks for your response, in addition below i also want to print Backup ID Please advice
bpimagelist -d 06/30/2019 13:00:00 -e 07/01/2019 10:00:00 -U
07-04-2019 02:56 AM
You cannot change the fields in -U output.
The only way to get the fields that you need is with -l (unformatted) output.
Your initial bpimagelist choices are: -media -l | -L | -U | -idonly
-media will give you media-id and not much else.
-l will give you everything in one long line in unformatted output (dates will be Unixtime and no headers)
-L will list each image with detailed info in lengthy format.
-U in 'user' format with limited info (no image-id)
-idonly will give image id and not much else.
Please see the TN in Riaan's post with explanation of the fields in -l output.