Video Screencast Help

How to Import and Export Policy

Created: 04 Apr 2013 | 9 comments

Good Day All

Hi,

I wanted to know, is there any way to import complete job policy from one master server and export it to another master server.

Is there any where either through Java Console or manually using command line.

Thanks

Operating Systems:

Comments 9 CommentsJump to latest comment

Nicolai's picture

The most simple (and unsupported way) is to copy the policy definition (they are plain text files)  from 

UNIX: /usr/openv/netbackup/db/class/

or windows [Install_path]/netbackup/db/class/

to the destination master server. I do not know of any command line option or java console menu that will enable such a operation.

Assumption is the mother of all mess ups.

If this post answered your'e qustion -  Please mark as a soloution.

Marianne's picture

I agree with Nicolai. I have personally done this many times.

Best to close all GUI's on destination server when copying policies across. Ensure that there is not already a policy with the same name before copying the chosen policy folder.

You will need to update Storage Unit on destination master.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

righthanded's picture

I have copied those policies from class directories to the class directory in new master server. When I refreshe, I still cant see the Policy appear in the new Master server. Should I copy other files also?

Marianne's picture

Should I copy other files also?

There is nothing else to copy. The policy folder with all of its contents (files and sub-folders) contains all of the necessary policy info.

Did you close all GUIs when you copied the policy?

If you did, it may be necessary to restart NBU.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Thiago Pereira's picture

You can export the backup policies, just to be safe, to a text file through the command below:
 

bppllist -U -allpolicies > C:\NetbackupPolicies.txt

But you can not import them automatically or systematically so the only way is doing what has been said by Nicolai and Marianne.

God is the reason of my life. He bless you all.

Marianne's picture

There is no way to 'import' bppllist output on another server.

Output can only be used as reference when recreating policies manually on new master.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Yasuhisa Ishikawa's picture

Are these two master servers in same version same platform?

Authorized Symantec Consultant(ASC) Data Protection in Tokyo, Japan

righthanded's picture

yes. both master server is in the same platform and netbackup version.i have close all the gui. ithink it mght need to restart the nbu.

Nicolai's picture

Try restarting the GUI on the new master servers.If Netbackup has been re-started it sometimes does't refresh with the right info.

Assumption is the mother of all mess ups.

If this post answered your'e qustion -  Please mark as a soloution.