cancel
Showing results for 
Search instead for 
Did you mean: 

How to check netbackup client version

Thomas_Nguyen
Level 4
Hi All,

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

Tom
12 REPLIES 12

Stumpr2
Level 6
bpgetconfig -M | grep VERSIONINFO.

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

Stumpr2
Level 6
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

Thomas_Nguyen
Level 4
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
Level 6
bppllist -l -allpolicies | grep CLIENT | awk '{print $2}' | sort -u

Thomas_Nguyen
Level 4
Thanks Bob

Quy_Nguyen
Level 0
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
Level 6
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.

sdo
Moderator
Moderator
Partner    VIP    Certified
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
Level 6
It's UNIX and it can be run from any UNIX media server.
enjoy!

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

Anonymous
Not applicable
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) ;)