Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Catalog Migration - How to Migrate a Catalog?

Status
Not open for further replies.

marmot2

Programmer
Apr 28, 2006
3
US
I need to migrate a catalog from a NetBackup 5.x Solaris system and integrate it with a NetBackup 6.x Linux system.

Is there a predefined method for doing this? I've searched all over the forum and have seen no mention of it.

If someone could even provide me with a basic instruction set for migrating a catalog in general that would be much appreciated.
 
The only known way that I have found over the last 5 years is by contracting Veritas in to do it.
 
I've spoken with Veritas in the past, and they make it sound like you can do it yourself. They quoted me an outrageous price for the migration, but made it sound like if I knew what I was doing I could do it myself.

Is it possible to do a bprestore of a backed up catalog onto a fresh system and then use this as the catalog?

I appreciate anyone's help.
 
Have you checked out the "Troubleshooting Guide"? There is a section on DR.

Bob Stump
Just because the VERITAS documentation states something as certain, that does not make it a fact and that is truth.
 
Here is what I would try if this were my problem and all I wanted was the /usr/openv/netbackup/db/images information to move to the Linux master...

- upgrade the Solaris master to 6.0 as there may be differences in the image database header/.f structure

- run following command to create a script you'll need later to add media ID's to the 6.0 linux domain media server for tapes that actually own valid images:

bpimmedia | cut -f5,12 -d ' ' | sort | uniq | awk '{print "bptm -makedbentry -m "$1" -den "$2}'

NOTE: the command above is all on one line...I apologize if it doesn't work the first time...my *nix command stuff is a bit rusty. The main goal is to get a list of tapes with valid images as those we'll need to protect in the Linux NBU 6.0 domain. That command above is meant to grep out the media id and media density and output them into a script.

- copy/paste the db/images subdirectories to the Linux master

- you'll have to run:
bpimage -new_server <new_media_svr> -old_server <old_mediasvr>
...on the Linux master to retarget the images to whatever mediasvr will do the restores.

- then run following command on the 6.0 media server for every piece of media you are bringing over from 5.1:
bptm -makedbentry -m A00001 -den hcart -poolnum 1
NOTE: that command will make all the media frozen w/expiration of infinity (a good thing so they don't get overwritten)

Good luck!

 
Correction:

I fixed that bpimmedia command, this one works (all one line):

bpimmedia | grep FRAG | cut -f7,9 -d ' ' | sort | uniq | awk '{print "bptm -makedbentry -m "$2" -den "$1" -poolnum 1"}'

 
Me again...that last command won't work either...because the density has to be the word, not the density number.

But you should get my drift. You'll have to use the '-L' switch with the bpimmedia command to get it to display density as the word. You'll have to edit my *nix syntax to pull the correct fields out.

Good luck!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top