Video Screencast Help

difference

Created: 20 Oct 2012 • Updated: 21 Oct 2012 | 8 comments
This issue has been solved. See solution.

Media Contents Report
The Media Contents report shows the contents of a volume as read directly from the media header and backup headers. This report lists the backup IDs (not each individual file) that are on a single volume. If a tape has to be mounted, there will be a longer delay before the report appears. 
# cd /usr/openv/netbackup/bin/admincmd
# ./bpmedialist -U -mcontents [-m <media_id>]

Images on Media Report
The Images on Media report lists the contents of the media as recorded in the NetBackup image catalog. You can generate this report for any type of media (including disk) and filter it according to client, media ID, or path. 
# cd /usr/openv/netbackup/bin/admincmd
# ./bpimmedia -U [-client <client_name>] [-mediaid <media_id>]

 

What is the difference between these two commands?Both are fetching from NBU catalog(emm)

Comments 8 CommentsJump to latest comment

mph999's picture

The first line of each description you have posted tells you if the details are taken from the image catalog, or, from somewhere else ..
The details you have posted also tell you what is conatained in each report

Here is an idea, run the two repoerts on your system, then you can compare the differencies
Martin

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
Arun K's picture

So in which case,NBU is fetching the info from EMM(CATALOG) ?

mph999's picture

The media contentes reads the info directly from the media header and the backup header.
Where do you the think the media /backup headers are. The clue MEDIA header - written on the tape perhaps ?
If you actually read the manuales/ man pages or even read the details about the media contents report, or even tested it like I suggested, you would find that NBU actually loads the tape and reads it in the tape drive.

The images on media looks at the details in the Image catalog - it says this exactly in the description you posted above .

Martin

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
mph999's picture

The media contentes reads the info directly from the media header and the backup header.
Where do you the think the media /backup headers are. The clue MEDIA header - written on the tape perhaps ?
If you actually read the manuales/ man pages or even read the details about the media contents report, or even tested it like I suggested, you would find that NBU actually loads the tape and reads it in the tape drive.

The images on media looks at the details in the Image catalog - it says this exactly in the description you posted above .

Martin

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
SOLUTION
Arun K's picture

Media Contents Report :From media

Images on Media Report:From image catalog.

 

Thanks Martin

mph999's picture

Yes, correct.

Please please please try these things yourself - you will learn a lot more than asking for the answers.

I got most of my knowledge from playing around ...

Courses are great for the basics, but you only really understand it when you try something and see what it does.

Martin

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
Giri_S's picture

Arun,

When u run bpmedia -mcontents ...there will be job created for the that in Activity monitor..

Have u seen it ??

Thanks.

Netbackup Admin (Unix)

Marianne's picture

He never tries to actually test the theory.  If he did, he would never post all these questions....

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links