cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate backups

traghav86
Level 5

Good day

 

is there a way to check duplicate backups of clients as i have morethan 1000 servers and need to findout is there any clients that are resides in multiple polices ?

Rahul
3 REPLIES 3

mph999
Level 6
Employee Accredited

This seems to work

bppllist -allpolicies |grep CLIENT |grep womble

CLIENT womble Solaris Solaris10 0 0 0 *NULL*
CLIENT womble Solaris Solaris10 0 0 0 *NULL*
CLIENT womble Solaris Solaris10 0 0 0 *NULL*
CLIENT womble Solaris Solaris10 0 0 0 *NULL*
 

so the client womble, is in x4 policies.

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Always good to mention your OS as there is no single NBU command/option to list what you want.
You will need to combine NBU commands with OS shell scripting.

To list all clients that exist in policies (you will need column 3 in the output):

bpplclients -allunique -U

save all client names in a text file to loop through using the following command:

bppllist -byclient <client_name> -U

 

mph999
Level 6
Employee Accredited

Ohh didn't know that one ... bppllist -byclient <client_name> -U

Mariannes way is better than mine which was 'Unix' specific, though similar can be done on windows using I think findstr instead of grep.

Mariannes was should work on both Unix and Windows.