Forum Discussion

billvel's avatar
billvel
Level 3
6 years ago

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

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.

  • hey

    so here it goes

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

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

4 Replies

  • hey

    so here it goes

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

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

    • billvel's avatar
      billvel
      Level 3

      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's avatar
        Marianne
        Level 6

        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.