Forum Discussion

DPO's avatar
DPO
Level 6
10 years ago

Need to import catalog into different master server

Hi,

I have two linux master servers. Both are running 7.1. I want to merge the catalog of one master into another one so that I can browse the catalog in secondary master. What are the steps I need to follow for this. Both are different master servers in different networks with different hostnames and IPs. Without renaming or changing the IPs of my secondary master, can I merge or move the catalog from 1st server to 2nd

  • You copy across the /usr/openv/netbackup/db/image/<client> directories.

    If you import and browse the catalog tape by changing policy type to NBU-catalog in BAR gui, you can selectively restore the clients you want.

    For a partial catalog recovery, the steps are in the troubleshooting guide, but this will do all clients. 

    Please note that this is not recommended.

  •  

    DOCUMENTATION: How to migrate the NetBackup catalog information from one platform to another (UNIX to Windows or vice versa), rename a Master Server, cluster an existing Master Server, or merge multiple NetBackup domains.

    Article:TECH31385  |  Created: 2004-01-02  |  Updated: 2014-01-19  | 

    Article URL http://www.symantec.com/docs/TECH31385

     

     

    ofcourse yes..

    you have 3 ways to achive this..

     1) it will only work if you have good communication form the Master/media A to client C

           a) check the communication of client C from Master/media A

            b) add client C in one of the test policy in the Master server A

            c) add the measter and media server  of A entiers in client C

            d) trigger the alternate clietnt restore where source client is B and destination client is C

    2) using Import

    ship the tapes into the Master/media B controled libraty if the images are in  tape, it not in tape duplicate them into tape and shit

    using import to create the catalog and do the restore

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

    3) Recovery with out import

    folllow the below T/N

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

    taken from (https://www-secure.symantec.com/connect/forums/how-restore-data-another-master-server#comment-9221901)

    if you have to run the two in parallel then i guess you have little choice but to do the following:

    1. Install a new Master at the new site and use that for clients being migrated
    2. Upgrade the existing Master to be the same version as the new Master
    3. When you are ready to retire the old Master get the specialists in to do the catalog merge for you so that the new Master has all of your backup data.

    A few things to be careful of as you go along:

    1. Make sure any tape library at the new site sees tape barcodes the same as the current site (i.e. all 8 didgits or just 6 digits)
    2. Make sure the barcode rules are the same
    3. Do not use any new media on the new site that has the same mediaid as used on the current site
    4. When you move clients across keep their names in policies the same (so if it is server.domian.com on the old site dont have it as just server on the new site)
    Just the stuff that makes the catalog merge a little easier / possible without running up against any conflicts that make life difficult

    Hope this helps

    taken from (https://www-secure.symantec.com/connect/forums/catalog-migration-one-nbu-domain-another#comment-10050431)

     

  • In short, my requirement is that I must be able to see or browse the catalog in both the master servers. However I can't configure Replication because of some network restrictions. What I can do is, I can take a backup of primary master catalog to its local disk and copy those files to secondary master server by some means. How would I import this catalog there (like i said without changing the names and IPs)

  • I found a TN for 7.5 ..Recovery without Import...can that be used for 7.1 ?

  • You cannot 'merge' the two catalogs.  (It can be done using specialist tools via a partner)

    Potentially you can copy the image catalog (/usr/openv/netbackup/db/images/<client name>  across, this will allow browsing of the files backed up only, and restores could be run if the media was made available to the second master.

    At 7.1, it is simply done by coping the dir for the <client> you want to make available.  At 7.5 and above it is more complex as you have to export/ import from /to the NBDB.

    PLease note, I DO NOT recommend the above - firstly, you will introduce catalog consistency errors, secondly, if media is bought across there is a greater risk of it being accidently overwritten.

  • I took backup of catalog into local disk on primary master and somehow able to copy those files to secondary..please guide me how do I perfrom partial catalog recovery. Like I said I only want to browse the data (catalog)

  • You copy across the /usr/openv/netbackup/db/image/<client> directories.

    If you import and browse the catalog tape by changing policy type to NBU-catalog in BAR gui, you can selectively restore the clients you want.

    For a partial catalog recovery, the steps are in the troubleshooting guide, but this will do all clients. 

    Please note that this is not recommended.

  • To restore using Dr file, see steps in guide, you'll have to put the actual backup files into a stu of the same name as primary, ok, there is a way around that but too long to type out. 

    If it was advanced disk stu you may run into other issues.

  •           Run NBCC command to check the Catalog consistency & Take Full Hot Catalog Backup of existing Master Server

    Prerequisites:

    1. Always save DR file to a network share or a removable disk.
    2. To perform a catalog backup, the master server and the media server must both be at same NetBackup version.
    3. Prepare new Server with the same Hostname as existing Master Server (not connected to Network)
    4. Install the same VERSION of NetBackup to new server.
    5. Shut the Existing Master Server machine Down
    6. Connect the New Master Server to the Network.
    7. Restore the Catalog Backup created from old Master Server on the new Master Server
    8. Check for connectivity to all Media Server and devices.
    9. Run a Test Backup