cancel
Showing results for 
Search instead for 
Did you mean: 

date and time of image/backupID once its dup to media

mike15
Level 2
Hi everyone,
I'm trying to find a reporting option that will show the original backup date and time of the image/backup ID and not the media date.

is there anyway to run a report that will show me the image/backup ID original date and time from the media?
 
thanks,
Mike
4 REPLIES 4

Sergey_Ch_
Level 2
Hi Mike,
there is a command bpimagelist that report on NetBackup images or removable media.
In the NBU6.5 Unix/Windows environment you may use
#bpimagelist -U -backupid
image_IDname

Nicolai
Moderator
Moderator
Partner    VIP   

When you have the backup id, you can convert the EPOCH time to human time

hostxyx_1262642332

# bpdbm -ctime 1262642332

1262642332 = Mon Jan  4 22:58:52 2010

mike15
Level 2

yes, that's what i'm looking for.

Thanks Sergey and Nicolai

Also, is it possible to generate a report of all the images on all the media with the image backed up date and time. I have been asked to go through over 2000 media and determine what images and date of backup on all media. I need to generate a report that will show me the media ID, image ID, and image backed up date and time.


Many thanks,
Mike

 

Nicolai
Moderator
Moderator
Partner    VIP   

For inspiration you may find these technote interesting:

How to use the "bpimagelist" utility to browse for images and media_id where they are written to ...

DOCUMENTATION: What are the different fields in "bpimagelist -l" output? ...


The last tecnote say for NBU 5.1 but is valid for 6.x as well.

You can find all the required info with bpimagelist but you need to retrieve info from multiple lines and fields. You need to script the report.