Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

policies etc 2

Status
Not open for further replies.

kuedm

Technical User
Jun 28, 2006
11
IE
Hi,
My boss has requested some information regarding NetBackup and I've never used the product before.

The catch is I need to do the following from command line and not the GUI.

List all policies, clients and schedules configured in the environment.

Basically I want to list all the servers being backed up. All policies that client belongs to and the corresponding schedule for each policy.

I found an article about bpcoverage. But it CORE dumps on our HP-UX server. Theres a fix for it but that can't be installed before I need the information.

I also read about a bpplist to list polices...but only find a bplist command which doesn't seem to do the trick.

All help appreciated and I'll post my final resolution for others to use.

Cheers
 
to generate a list of clients
bpplclients -allunique -noheader | awk '{print $3}'

to generate a list of client policies
bppllist -U -byclient <clientname>


Bob Stump
Just because the VERITAS documentation states a certain thing does not make it a fact and that is truth.
 
All Policies: [just the names]
bpcllist -allclasses -L | grep "Policy Name:" | sed 's/Policy Name: //'

List out all the policies: [More info formated]
bpcllist -allclasses -U
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top