Netbackup Questions

I have 2 questions maybe those netbackup experts and gurus in the house can help.

Firstly, is there a particular location maybe under /usr/openv where I can find a diretory or file which contains all the backup policy information, so lets say If someone were to physically delete all the netbackup policies from jnbSA GUI, is there some way to bring it back by restoring such a file/directory?

My second question, is there any command to run that will generate a detailed report of all the backup policies along with other information, like storage units, policy type, volume pools, schedule windows etc ....

I need it the info for some documentation which I'm doing. It will be a big pain for me if I have to manually go thru each policy to write down this info.

thanx in advance

Login as root and run the following

# for i in `bppllist`
> do
> bppllist $i -U
> done

The Policies, themselves, can be found in the /opt/openv/netbackup/db/class directory, class being the old name for the policy.

As for removing a policy from the GUI - that also will remove the policy from the /opt/openv/netbackup/db/class directory.

If someone deleted your policies, just home that your Master Server backup has been successful!

Wow very powerful command, another one to put into my little black book. It really works as you said and this has saved me a lot of work already.

Thanks a lot Grippo

You Da' Man :wink:

it is highly recommended to setup catalog hot/cold backup.
Alternatively, using unix native tools like cp, tar you you can make copy of directories containing catalog (NB 6.5) :
/usr/openv/netbackup/db
/usr/openv/var/global
/usr/openv/db/data

it is important that NB is stopped or make sure that no client backups are running.