cancel
Showing results for 
Search instead for 
Did you mean: 

How to see last successful Image using Bpimagelist

Brais
Level 4

Hello,

      I need to list, only the last succesful image of  a client.

      How can it be done?

 

Thanks in advance.

2 REPLIES 2

Marianne
Level 6
Partner    VIP    Accredited Certified

There is no such option to bpimagelist.

The default date range is last 24 hours. Your other choices are  '-hoursago' or  '-d <start-date>' and  '-e <end-date>'

Deepak_G
Level 6
Certified

Incase if you are trying to generate the report for the last sucessfull full backup's for all clients you need to run the command through scripts.

ex: (If you are running on solaris)

  • export the list of client to a file
  • Select the last possible backup option (The oldest option based on retention policy). I have taken it as 90 days X 24 hrs = 2160 hrs.

 

for i in `cat file`

do

bpimagelist -client $i -hoursago 2160 -U | grep -i full

done

 

Then I used to export it to a excel file and use vlookup to find the first possible option. (Since the data comes sorted you will get the recent backup image as the best match)