06-02-2016 12:34 AM
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 ?
06-02-2016 12:49 AM
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.
06-02-2016 01:57 AM
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
06-03-2016 01:01 AM
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.