cancel
Showing results for 
Search instead for 
Did you mean: 

Command line to find all clients with active policies

slimerrrr
Level 4

**** Moved to new discussion from: https://www-secure.symantec.com/connect/forums/know-command-line-find-all-files-backed-0  ****

And i would like to know command line to find all clients with active policies backed up by NetBackup servers.

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions

revarooo
Level 6
Employee

Use Opscenter then.

 

View solution in original post

4 REPLIES 4

revarooo
Level 6
Employee

Opscenter is best otherwise:-

 

bppllist -allpolicies |egrep "^CLASS|^CLIENT"
CLASS CATALOG_BACKUP *NULL* 0 760000 0 *NULL*
CLIENT netbackup_master Linux Linux 0 0 0 0 *NULL*
CLASS policy_all *NULL* 0 760000 0 *NULL*
CLIENT netbackup_client1 Linux SuSE2.6.16 0 0 0 0 *NULL*

 

 

sri_vani
Level 6
Partner

Yup opscenter is the best option also refer below excellent notes:

https://www-secure.symantec.com/connect/forums/need-active-backup-clients-list#comment-7539651

https://www-secure.symantec.com/connect/forums/need-active-backup-clients-list#comment-7542801

for POLICY in `bppllist -U -verbose -allpolicies | egrep '^Policy Name|Active' | awk '/Active.*yes/{print x};{x=$3}'`
do
bpplclients $POLICY -noheader | awk '{print $3}' >> /tmp/active_clients.tmp
done
sort -u /tmp/active_clients.tmp
rm /tmp/active_clients.tmp

slimerrrr
Level 4

Thank's

But i 've a windows server 2008, your command is a Linux.

are you a command line on Windows?

 

Thank

revarooo
Level 6
Employee

Use Opscenter then.