Video Screencast Help
Protect Your POS Environment Against Retail Data Breaches. Learn More.

How to check netbackup client version

Created: 12 Jan 2007 • Updated: 21 May 2010 | 12 comments

Hi All,

How could I check netbackup client version from CLI, thanks.

Tom

Comments 12 CommentsJump to latest comment

Stumpr2's picture

bpgetconfig -M | grep VERSIONINFO.

VERITAS ain't it the truth?

DavidParker's picture

If you're logged directly into the client, you can also look at this file:
/usr/openv/netbackup/bin/version

Stumpr2's picture

There is also a script that you can run called check_coverage

MasterBob:/root# check_coverage -hardware -client griswold

Generating Hardware/OS Report for client griswold
Completed report for griswold


The Hardware/OS Report can be found in /tmp/hardware_rpt.01-12@10:53


# cat /tmp/hardware_rpt.01-12@10:53


Policy Hardware/OS Report
-------------------------

Key: * - Policy is not active
CLIENT - hostname (uname information)
VERSION - NetBackup version running on the client


CLIENT: griswold (sun4u/SunOS 5.9 Generic_118558-23)
VERSION: NetBackup-Solaris9 5.1MP4

Policy Name Hardware/OS
----------- -----------
griswold_fs Solaris/Solaris9

VERITAS ain't it the truth?

Thomas Nguyen's picture

Hi Bob,

Thanks for your reply, one more question how could I get client list, b/c I need to get client version list before I upgrade to Netbackup 6.0 Thanks

Stumpr2's picture

bppllist -l -allpolicies | grep CLIENT | awk '{print $2}' | sort -u

VERITAS ain't it the truth?

Quy Nguyen's picture

Hi Bob,

Please tell me if there is a way to check maintenance pack level (for NBU 5.1) on Windows clients because neither bpgetconfig or "check_coverage -hardware" shows the MP level for NT clients. I mean check it from the master server since we don't have access to the clients.

Thank you

QuyMessage was edited by:
Quy Nguyen

Stumpr2's picture

Well there are a few ways to get that information, but none of them are easy

If you backup $INSTALL_DIR\Veritas\netbackup\patch
1. use bplist or bpflist to check for the existence of a MP directory
C:\Program Files\VERITAS\Patch\NB_51_4_M
2. use the Backup/restore/archive GUI to look for the patch directory


If you do not backup the directory then You could try to use bpgp from the master server
# bpgp from W2K "/C/\\Program Files\\VERITAS\\NetBackup\\patch\\History.log" /tmp/gotit
and then read from the history log

The good thing is that once you have a list of clients you can script a for loop.
you would have to be careful of the $INSTALL_DIR as sometimes it is on C: and sometimes on another drive.

VERITAS ain't it the truth?

sdo's picture

Hi Bob,

Is bpgp an NBU Solaris thing? I can't find the util on my Win2000 AS SP4 wih NBU ES v5.1 MP6 clustered master server.

Thanks,
Dave.

Stumpr2's picture

It's UNIX and it can be run from any UNIX media server.
enjoy!

VERITAS ain't it the truth?

Thomas Nguyen's picture

that's right, on unix master, create a script, that'll get all netbackup client version for you. Thanks.

Stuart Green's picture

Been wanting to find this also, but as a previous post also asked Client version and also Maintenance Pack level was needed.

Running this from a UNIX master on the command line, output is pretty crude.

for i in `bppllist -l -allpolicies | grep CLIENT | awk '{print $2}' | sort -u`
> do
> echo $i
> bpgetconfig -s $i -A -L | egrep "Version|Patch|Platform"
> done

Check for Version and Patch as some Patch information maybe blank as the version is as the base level.

This is much quicker responding than the Netbackup Admin Console Gui > Host Properties > Clients > (select all) Connect

The above command could give

barney
NetBackup Client Platform = ALPHA, OSF1_V5
Version Name = 6.0
Version Number = 600000
Patch Level = 6.0MP3
fred
NetBackup Client Platform = 68K, Amiga
Version Name = 3.4GA
Version Number = 600000
Patch Level = 3.4_MP12
wilma
NetBackup Client Platform = HP-UX-IA64, HP-UX11.23
Version Name = 6.0
Version Number = 600000
Patch Level = 6.0MP4

Not pretty but workable, also maybe modify the bpgetconfig qualifier to either -U or -l

(As you can probably guess I work in IT at the Slate Rock and Gravel Company, in Bedrock) ;-)

Tip: Get overview/document your NBU environment. Run 'nbsu' and review the output.

• If this provides help, please vote or mark appropriate solution.