cancel
Showing results for 
Search instead for 
Did you mean: 

See Backup Image Expiry date all my clients for specific time range

billvel
Level 3

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.

2 ACCEPTED SOLUTIONS

Accepted Solutions

quebek
Moderator
Moderator
   VIP    Certified

hey

so here it goes

bpimagelist -d 06/30/2019 13:00:00 -e 07/01/2019 10:00:00  -U

View solution in original post

RiaanBadenhorst
Level 6
Partner    VIP    Accredited Certified

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 :)

View solution in original post

4 REPLIES 4

quebek
Moderator
Moderator
   VIP    Certified

hey

so here it goes

bpimagelist -d 06/30/2019 13:00:00 -e 07/01/2019 10:00:00  -U

RiaanBadenhorst
Level 6
Partner    VIP    Accredited Certified

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 :)

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

Marianne
Level 6
Partner    VIP    Accredited Certified

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.