cancel
Showing results for 
Search instead for 
Did you mean: 

NBU Policies bulk change

Fabian_Schwarz
Level 4

Hi,

I need do a change in ~ 500 NBU policies.

Can I use command line to do this task ?

Is there any file that I could restore if any change wasn´t well made ?

2 REPLIES 2

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Hi

It depends what you want to change, policy attributes, include list, schedule etc so please be more specific.

bpplinfo — manage or display policy attributes for NetBackup

bpplschedrep — modify NetBackup schedule attributes

 

All policy information is contained in the netbackup\db\class\ folder with one folder for each policy. And subfolders under it that relate the different policy components. You can take a backup of the class folder so you can rollback any mistakes.

sdo
Moderator
Moderator
Partner    VIP    Certified

tip:  when using the bpplinfo command to change a policy's settings, be careful not to use the "-set" option (which will reset the policy to what is essentially an empty template), and so instead be sure to use the "-modify" option.