Forum Discussion

Fabian_Schwarz's avatar
7 years ago

NBU Policies bulk change

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 ?

  • 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.

  • 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.