04-08-2014 02:28 AM
**** 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
Solved! Go to Solution.
04-08-2014 03:36 AM
04-08-2014 02:49 AM
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*
04-08-2014 02:58 AM
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
04-08-2014 03:05 AM
Thank's
But i 've a windows server 2008, your command is a Linux.
are you a command line on Windows?
Thank
04-08-2014 03:36 AM
Use Opscenter then.