client remove
I have a single client in 6 policies.(FS BACKUP/ORACLE/INCR/FULL...)
Client is now decommisioned.
What command i can run so that this client is deleted from each 6 policies without other clients being affected in the 6 policies?
NBU 7.5.0.4
WINDOWS 2008
Google: netbackup client remove policy.
1st 3 matches yield this page:
https://www-secure.symantec.com/connect/forums/command-line-unixaix-deleting-client-multiple-policies
Comment mentions:
1. Policies by client name
/usr/openv/netbackup/bin/admincmd/bppllist -byclient CLIENTNAME | grep CLASS | cut -d' ' -f2
2. Delete client from policy
/usr/openv/netbackup/bin/admincmd/bpplclients POLICY -delete CLIENTNAMESo in UNIX:
for policies in `/usr/openv/netbackup/bin/admincmd/bppllist -byclient <clientname> | grep CLASS | cut -d' ' -f2`
do
/usr/openv/netbackup/bin/admincmd/bpplclients $policies -delete <clientname>
done