Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.
Backup and Recovery Community Blog

Upgrading to NB7.5>Can I control the move of image_header information into NBDB when upgrading to NetBackup 7.5 ?

Created: 11 Apr 2013 • Updated: 11 Apr 2013 • 1 comment
inn_kam's picture
+3 3 Votes
Login to vote

Hi

i am blogging this because , this KB Article is very hidden in Symantec Tech Note and very difficult to find but very important for Upgrading

And this Document is very Helpful when upgrading to Netbackup 7.5 from 6.5 

Can I control the move of image_header information into NBDB when upgrading to NetBackup 7.5 ?

Article:TECH173229  |  Created: 2011-10-31  |  Updated: 2011-11-03  |  Article URL http://www.symantec.com/docs/TECH173229
 

Prior to NetBackup 7.5  the image header files where located in the following directory.

WINDOWS : <install-path>\VERITAS\NetBackup\db\images\

UNIX :  /usr/openv/netbackup/db/images

During the  upgrade process to Netbackup 7.5,  this information will no longer be kept here,  but instead will be moved into the NetBackup NBDB database.   To ensure the upgrade to NetBackup 7.5 does not take too long,  only a small subset of images will be moved into NBDB during the actual upgrade.  The rest of the images will be moved during the next cleanup job,  after the upgrade is complete.  

OPTION 1:  Before upgrade to NetBackup 7.5

   If you want to choose to move all image header information into the NBDB database :

   Prior to upgrade to NetBackup 7.5 with previous version of NetBackup still installed,  create touch file

            Touch File:  MERGE_ALL_IMAGE_HEADERS

            Windows :  <install-path>\VERITAS\NetBackup\bin\

            Unix :  /usr/openv/netbackup/bin

OPTION 2: Post upgrade to NetBackup 7.5

    Instead of creating the touch file,  run a catalog cleanup manually after the upgrade to start the move of all images into NBDB.

Windows : <install-path>\Veritas\NetBackup\bin\admincmd\bpimage -prunetir -allclients -cleanup

Unix :  /usr/openv/netbackup/bin/admincmd/bpimage -prunetir -allclients -cleanup

OPTION 3: Post upgrade to NetBackup 7.5

   You can use cat_import command to import all image metadata for all clients or individual clients in parallel. 

   To import all clients:

    Windows:   <install-path>\Veritas\NetBackup\bin>cat_import  -all  -delete_source -base <install-path>\NetBackup\db

    Unix :  /usr/openv/netbackup/bin/cat_import -all -delete_source -base /usr/openv/netbackup/db

   To import 1 clients images at a time:

      Windows:   <install-path>\Veritas\NetBackup\bin>cat_import  -client  <clientname>  -delete_source -base <install-path>\NetBackup\db

       Unix :  /usr/openv/netbackup/bin/cat_import -client  <clientname>  -delete_source -base /usr/openv/netbackup/db

Comments 1 CommentJump to latest comment

StefanosM's picture

How big is your database?

how many images you have?

+1
Login to vote