cancel
Showing results for 
Search instead for 
Did you mean: 

How to move policies from one master server to another keeping everything the same.

nbustarter380
Level 6

Hello, 

I know there has to be a way to do this but need some help with the commands or link to the command (I tried searching the community but no success if someone can find a thread about this and display the link that would be nice also.

I would like to move some policies from one master nbuserver to another master nbuserver keeping the attributes, schedules, basically everything the same.

 

Example:  master nbuserver1 (linux) has the following policy

Abalone.ma.com

Move that policy to master nbuserver2 (linux)

 Fyi –  I would like to use the command line for this.

 All masters are Linux

 

Thanks for any help in advance!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Omar_Villa
Level 6
Employee

Not sure what are you doing but if is just a simple policy migration you can just copy the /usr/openv/netbackup/db/class folder with scp from one box to another and that will make all the policies available on the destination master, but if you are migrating the all thing is a different beast, check this technote about servers tech refresh.

 

http://www.symantec.com/business/support/index?page=content&id=TECH77448

 

Regards.

View solution in original post

5 REPLIES 5

Yogesh9881
Level 6
Accredited

What NBU version & patch level on nbuserver1 & nbuserver2 ??

Omar_Villa
Level 6
Employee

Not sure what are you doing but if is just a simple policy migration you can just copy the /usr/openv/netbackup/db/class folder with scp from one box to another and that will make all the policies available on the destination master, but if you are migrating the all thing is a different beast, check this technote about servers tech refresh.

 

http://www.symantec.com/business/support/index?page=content&id=TECH77448

 

Regards.

revarooo
Level 6
Employee

If the Netbackup servers are the SAME version of NetBackup and are the SAME OS:

 

On nbuserver1:

II am assuming this is a Unix/Linux OS.

cd /usr/openv/netbackup/db/class

tar cvf Abalone.ma.com /tmp/Abalone.ma.com.tar

rcp /tmp/Abalone.ma.com.tar nbuserver2:/tmp/

 

On nbuserver2:

cd /usr/openv/netbackup/db/class

(ensure the directory Abalone.ma.com does not exist here)

tar xvf /tmp/Abalone.ma.com.tar

 

 

Nicolai
Moderator
Moderator
Partner    VIP   

go to /usr/openv/netbackup/db/class

A directory will exist for every policy configured - Copy the entire structure including permission to the new master server. 

This will ensure the policy structure is the same. But the new server will likely run a new full backup of everything.

update: * bump * 3 replies already ...

nbustarter380
Level 6

 Hi  

Thanks, yogesh9881, Omar, revaroo and Nicolia

 Thanks for your replies

 Both masters  servers are NBU version 7.1  (not sure iof the patch level)

  [~]# uname -a

Linux nbuserver. 2.6.18-274.7.1.el5 #1 SMP Mon Oct 17 11:57:14 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

[2.6.18-274.7.1.el5

[Linux

 Hi revaroo,

 Yes both nubmasters have the same version and the same OS

Thanks again i appreciate the help!