Forum Discussion

Agent47's avatar
Agent47
Level 4
12 years ago

command to display the schedule name of the policies

Hi Team,

need help here.

May i know the command that displayed the schedule name of the policies.

i used bppllist -U but its only display the policy name.

i just want to display also the schedule name.

sample:

policy name schedule name

test Full backups

regards

  • Both  two below works.

    # /usr/openv/netbackup/bin/admincmd/bppllist -allpolicies -l |awk '$1=="CLASS"{policy=$2}$1=="SCHED"{print policy,$2}'

    #  /usr/openv/netbackup/bin/admincmd/bppllist -allpolicies -l |while read i j k;do case $i in CLASS) policy=$j;;SCHED) echo "$policy $j";;esac;done

4 Replies