Veritas-bu

[Veritas-bu] Bpplist Policy Script

2009-09-25 20:06:36
Subject: [Veritas-bu] Bpplist Policy Script
From: "Jimenez, Daniel" <Daniel.Jimenez AT owb DOT com>
To: "veritas-bu AT mailman.eng.auburn DOT edu" <veritas-bu AT mailman.eng.auburn DOT edu>
Date: Fri, 25 Sep 2009 17:03:11 -0700

I found the script below that pulls the policy and storage device from Netbackup but it is for Unix and was wondering if anyone knows how to translate this to Windows?

 

bppllist -allpolicies | awk `{

if ($1=="CLASS") {c=$2;stu="";printf("\n%24s: ",c)}

if ($1=="RES" || $1=="SCHEDRES" ){

  F=2

  while($F!~/NULL/ && F<=NF) {if($F!=stu){stu=$F;printf("%12s

",$F)};F++}

  }

}END{printf("\n")}`

 

OneWest Bank, FSB
Daniel Jimenez
Technical Consultant
16608 Valley View Ave
La Mirada, CA 90638
Phone: 714-520-3421
Cell: 562-480-2966
Fax: 714-520-3470
Daniel.Jimenez AT owb DOT com
Website: http://www.owb.com/
Website: http://www.onewestbank.com/
____________________________________________________________________
This message contains information which may be confidential and privileged.
Unless you are the addressee (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
let the sender know and delete the message. Thank you.

 

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
<Prev in Thread] Current Thread [Next in Thread>