Software >> Services >> Backup >> Netbackup >> How to list backup policies in a Unix master server and obtain policy details for each

Software::Services::Backup::Netbackup:: Where to find opensource or free VTL. - See more at: http://www.myfaqbase.com/index.php?Q=netbackup&go=+Go+&ul=0&show=f#sthash.d4o2nF6k.dpuf
 

cd /usr/openv/netbackup/bin/admincmd

to get a list:-

# ./bppllist

to get details for each

# for p in `./bppllist`;do ./bppllist $p;done;

to capture output to a file

# for p in `./bppllist`;do ./bppllist $p >> /tmp/output.txt ;done;

ALTERNATIVE

for each policy there is an info file

/usr/openv/netbackup/db/class/policyname/info

the 'info' file is in clear text and has details of the policy

those with ACTIVE 0 => activated

those with ACTIVE 1 => de-activated