Monday, 20 March 2017

How to move a Backup Exec installation from system to another on a different server with a different server name.


Issue



How to migrate / move Backup Exec from one version to another on a different server with a different server name.



Solution






1.     In Backup Exec on the older system installation do the following:

a.     Update or determine the latest build Backup Exec is currently running.

b.    Go to HELP | ABOUT | Run LiveUpdate to install the latest Service Pack and/or Hotfixes.

c.      Go to HELP | ABOUT | Installed Updates and note the services packs and Hotfixes installed.

d.    Launch servicesmgr.exe (default location: C:\Program Files\Symantec\Backup Exec) and click Stop All Services.

e.     Stop the 'SQL Server (BKUPEXEC)' Service from within the Windows Services console.

f.       Copy the Data and Catalog folders to a temporary location outside of the Program Files\Symantec folder on the New system.

2.    Install the same version of Backup Exec on the new system.

a.     Update to the latest service pack and hot fix for this version of Backup Exec as determined from step 1a above.

b.    Launch servicesmgr.exe and click Stop All Services.

c.      Stop the 'SQL Server (BKUPEXEC)' Service from within the Windows Services console.

d.    Copy the Data and Catalog folders to a temporary location outside of the Program Files\Symantec folder; not the same sub-folder as those copied from step 1d above.

   3.Copy the Data and Catalog folder from the temporary location in step 1d above into the new system’s Backup Exec installation directory; choose yes to overwrite.

   4.On the new media server start the 'SQL Server (BKUPEXEC)' Service from the Windows services console. (DO NOT START ANY OTHER BACKUP EXEC SERVICE AT THIS TIME).

   5.On the new Backup Server, open a command prompt as administrator and enter the following pressing the ENTER key after each line:

osql -E -S \BKUPEXEC   or

Sqlcmd -E -S servername\BKUPEXEC

1>use bedb

2>go

1>SELECT partitionname FROM datapartition

2>go

                   *At this point, the old server-name should be listed

1>UPDATE DataPartition SET PartitionName= 'new-server-name' WHERE PartitionID =0   or

UPDATE DataPartition SET PartitionName= ' new-server-name ' WHERE PartitionID =0   or

UPDATE DataPartition SET PartitionName=' new-server-name ' WHERE PartitionID =0





2>Go

                   * # of rows affected should be listed To verify the change took place; run the original commands:

1>SELECT partitionname FROM datapartition

2>Go

    *At this point the new server-name should be listed

   6.Type quit and press enter to exit OSQL.

7.    Backup the registry on the new media server.

a.     Go to START | RUN | and type Regedit32 and press Enter.

b.    Go to FILE | Export

c.      Under Export range choose ALL.

d.    Navigate to the local root of the C drive and enter a File name.

e.     Click SAVE to backup the registry hive.






Copy the old server database bedb_dat.mdf and bedb_log.ldf files to new server Backup Exec\Data folder



.Open a CMD command prompt to \Program Files\Symantec\Backup Exec

·           Run BEMIG

       1>C:\cd C:\program files\symantec\backup exec


       2>C:\Program files\Symantec\Backup Exec> bemig         

·         Wait for it to fully complete and return to a new prompt.

09. Start BE services and SQL(BKUPEXEC) service from services.msc and open the BE console. 



10. Open Symantec backup exec console

Go to Backup exec services

In server(as shown in arrow) option type new server name and add,  and start all services.











You are done.


No comments:

Post a Comment

PHP vs Python : Which one is the Best Server-Side Programming?

PHP vs Python, the two most popular back-end programming languages. Python has the variety of dynamic features with simple script whereas ...