Need Backup Selection information against each client

This issue has been solved. See solution.
pv_ramesh71@yahoo.co.in's picture

Hi

We have 1 master server and 200 clients, 150 policies.  Each policy consists of single or multiple client information.    Now question we know how many clients are there, but we want backup selection list against each client.  For example client A which is running windows having C, d,e drives, we may selected either c or c and d drive.  This information will be vary for each and every client. 

How do i know backup selection portion against each client.  I have tried to get this information using bppllist, bppclients but, these commands doesnot give the information,  I have tried to get these from GUI, under policies, but not giving the right information..  The reason the client may be part of multiple policies.  so i cannot get the right information.

If anybody knows the information, please do share that.  I have contacted symantec, but my efforts are not fruitful.

Appreciate your help and thanks in advance.

Rgds
PVR

rjrumfelt's picture

I believe you are on the right track

with bppllist.  If you execute bppllist -allpolicies -U, and then use cut, grep, awk, perl, etc to extract the information you need regarding the client backup selections.  Unless you used "ALL_LOCAL_DRIVES" for each policy, you should be able to get this information from bppllist -allpolicies -U

I'm not much of a scripter,  but you might be able to find something someone else wrote in the "downloads" section

Andy Welburn's picture

Not sure if it will show you everything you need, but

Solution

you could try the bpcoverage command. e.g.

# bpcoverage -c client
       File System Backup Coverage Report (UNIX and Windows only)
       ---------------------------------------------------------------------------------

       Key:  *         - Policy is not active
       UNCOVERED - Mount Point not covered by an active policy
       MULTIPLE  - Mount Point covered by multiple active policies

CLIENT: client

   Drive Letter                                  Backed Up By Policy   Notes
   ------------                                       ----------------------------   --------
   C:\                                                  Win2003_Servers
   E:\                                                   Win2003_Servers
   Shadow Copy Components:\          Win2003_Servers

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

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

CLIENT:  client (Service Pack 1/WindowsNET 5.2 build 3790)
VERSION: 5.1

   Policy Name           Hardware/OS
   -----------           -----------
   Win2003_Servers       PC/Windows2003

Regards Andy

"It's not too late to panic ..."

J.Hinchcliffe's picture

Highly agree with Andy

I use bpcoverage every year when I do my "audit" to show what is or is NOT backed up.

I don't have to know how to spell....I work on Unix.

pv_ramesh71@yahoo.co.in's picture

thank you very much. It helps

thank you very much.

It helps certain extent, not fully.

Darren Dunham's picture

more info needed

What's the issue with the information you have?  Is there other data that you need it to supply, or is it just that the formatting of the data isn't what you expect?  Or is there some other aspect that you're hoping for?

--
Darren

Backup_Guy's picture

how can I "audit" with

how can I "audit" with bpcoverage i would like to find out list of all active clients that are currently backed up.
bpcoverage -c client (replacing client with my client name prints only that particular) how about if I need all clients)

Andy Welburn's picture

You'll probably have to script it.

Along the lines of:

for CLIENT in `bpplclients -allunique -noheader | awk '{print $3}'`
do
    bpcoverage -c $CLIENT
done

Regards Andy

"It's not too late to panic ..."

sumanreddy's picture

Thanks Andy,

Thanks Andy,

Backup_Guy's picture

Normal 0 false false

Normal
0

false
false
false

EN-GB
X-NONE
X-NONE

MicrosoftInternetExplorer4

Normal
0

false
false
false

EN-GB
X-NONE
X-NONE

MicrosoftInternetExplorer4

/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin-top:0cm;
mso-para-margin-right:0cm;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0cm;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}

Thanks Andy, not familiar with scripting my environment is windows, and useful documentation I read (basic scripting how-to) for netbackup

 

Amit Karia's picture

You possible need two scripts

You possible need two scripts .. one script will list out policy against a client and next script will list out selection against those policies

use bpplinclude <policyname> -L command to find out backup selection for subjected  policy

pv_ramesh71@yahoo.co.in's picture

Yes Amit, i got the answer. 

Yes Amit, i got the answer.  bpcoverage will drive information, where bpplinclude give what we have selected.

Thankyou very much.
PVR