08-25-2014 10:25 AM
Hi All,
I am looking for a script whose output include below information:
policy name,client,storage,OS,retention level.
Thanks
Solved! Go to Solution.
08-25-2014 11:19 AM
bppllist will show all of those http://www.symantec.com/docs/TECH42917
08-25-2014 10:52 AM
Your master O/S (and patch level)?
Your admin host (where the script will run) O/S (and patch leve)l?
Version of NetBackup on both of the above?
When you ask for 'storage' and 'retention level, I have to ask whether you use SLPs or not?
You've asked for 'policy' - so that's one p-word - but where's the other?
08-25-2014 11:15 AM
Master is Linux
Master version is 7.6.0.2
We r using SLPs
sry but what do u mean by "You've asked for 'policy' - so that's one p-word - but where's the other?"
08-25-2014 11:19 AM
bppllist will show all of those http://www.symantec.com/docs/TECH42917
08-25-2014 11:38 AM
You want someone else to put a fair amount of time in to developing a script for you, then quite likely debugging it with you, and then the usual teaks and mods to make the script work just the way you want it - and for no reward - and probably in their own time. There's really only one way of asking for such things.
08-25-2014 11:42 AM
Master is what family and version (and patch level) of Linux?
What scripting languages do you have available? I assume sh/ksh/bash must be available, but maybe you want your script in perl or python - or something else?
Do you have the option of running your script on Windows? e.g. a Windows media server, or a Windows Admin Console host/server?
08-27-2014 12:58 AM
I believe that Riaan has the best possible answer - use bppllist.
bppllist -allpolicies -U
will give all requested information.
For a specific client:
bppllist -byclient <client_name> -U
If you want to extract subsets of information from the output, you can use grep or egrep (since you have selected Linux as your OS).
08-27-2014 01:30 PM
08-28-2014 09:53 AM
Hi sdo,
Yes i still want the script .I am also making it.but if u have can u pls share it with me.
required fields are:
policy name
client name
shed. name
storage name
retention
OS
Thanks
08-28-2014 10:09 AM
08-28-2014 11:31 AM
I 've only Linux servers
08-28-2014 10:39 PM
Please post an example of your required output, will look at it later.