Forum Discussion

wb238w's avatar
wb238w
Level 2
4 years ago

Netbackup 9.1 Import Policy

I created a Policy backup .txt file from an 8.0 system. I've done a new install to 9.1 , is there a way to import my saved policy file so I don't have to recreate them ?

Netbackup_Policies_030420.txt

Thanks,

wb238w

  • Hi wb238w 

    If all you have the the output from bppllist <policy>, then the easiest way will be to recreate manually (I have heard of some tools that can create a policy from a text file, but that's about all I know).

    If you still have access to the old system, you can save/backup each policy you want from the /usr/openv/netbackup/db/class directory - each policy will have its own folder with all the definitions. If you still have your old catalog backups, you can browse those as standard file system backups and extract the polices from there. 

    Extract these to the same location on the 9.1 system then run the command:
    "/usr/openv/netbackup/bin/goodies/bpplconvert <policy>"
    "/usr/openv/netbackup/bin/goodies/bpplconvert <policy> -new_hardware_definitions"
    "/usr/openv/netbackup/bin/goodies/bpplconvert <policy> -update_class_id"

    You can also use "-allpolicies" inplace of <policy> if you have a number to convert. This is what an upgrade performs towrds the end of the process.

    David