cancel
Showing results for 
Search instead for 
Did you mean: 

Need Backup Selection information against each client

pv_ramesh71
Level 3
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
1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

11 REPLIES 11

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

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

pv_ramesh71
Level 3
thank you very much.

It helps certain extent, not fully.

Darren_Dunham
Level 6
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_Guy1
Level 3
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
Level 6
Along the lines of:

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

sumanreddy
Level 4
Certified

Thanks Andy,

Backup_Guy1
Level 3

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

 


Amit_Karia
Level 6
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
Level 3
Yes Amit, i got the answer.  bpcoverage will drive information, where bpplinclude give what we have selected.

Thankyou very much.
PVR