How to use BEMIG to manually upgrade the Backup Exec database from a previous version

Article: 100018032
Last Published: 2024-10-04
Ratings: 9 0
Product(s): Backup Exec

Problem

Need to manually upgrade Backup Exec from a previous version.
 

Solution

The recommended upgrade method is to allow the Backup Exec (BE) installer upgrade BE and its database during the installation. If that fails to occur or a saved database from a previous BE version needs to be added to a newer BE version, the BEMIG tool can be used. This tool follows the same upgrade version rules that the BE installer has. This is noted in the chart below.

Note: If the .mdf and .ldf files are from an older version of Backup Exec installed on a different server then please do not follow the procedure below if any of the following are true:

  • Backup Exec is clustered.
  • The Backup Exec Shared Storage Option (SSO) is installed.
  • The Backup Exec Central Administration Server (CAS) is installed.
  • The computer where Backup Exec is installed and the computer where it will be installed are running two different versions of the Windows Operating System.
  • If planning to move Backup Exec to a different drive/directory on the server.
 

Steps:

1. Confirm Backup Exec is working in its current database. Update Backup Exec to the latest Service Pack, Feature Pack, or Hotfix.  Obtain patches from the Veritas Download Center

2. Stop all Backup Exec services (including the  SQL (BKUPEXEC) service).  NOTE: For Backup Exec 22 the SQL instance name and service name is SQL (BKUPEXEC64).

3. Open  \Program Files\Symantec or Veritas \Backup Exec Directory.  Copy the Data folder and paste it in the same location. Rename the "Copy of Data" to "Data-'TodaysDate' or "Data-Version#-New"

4. Copy the saved Database from the previous BE version into the \Backup Exec\Data folder(or the entire folder).
   This will be bedb_dat.mdf and bedb_log.ldf files.

5. If the Catalogs have been saved also, rename the Catalogs to Catalogs.old, then copy/move the saved catalogs under Backup Exec.

6. Start the SQL service.

7. Set the registry keys for BEMIG.

Warning: Incorrect use of the Windows registry editor may prevent the operating system from functioning properly. Great care should be taken when making changes to a Windows registry. Registry modifications should only be carried-out by persons experienced in the use of the registry editor application. It is recommended that a complete backup of the registry and workstation be made prior to making any registry changes.

7a. Launch the Registry Editor (Start, Run, Regedt32). Navigate to

HKLM | Software | Symantec | Backup Exec for Windows | Backup Exec | "VersionNumber" | Install      

Or        

HKLM | Software | Veritas | Backup Exec for Windows | Backup Exec | "VersionNumber" | Install    


     User-added image

7b. Modify the value of "Upgrade" to 1.
      (Create as a Dword if it is not present)

7c. Modify the value of  "Upgrade Version" to the version of the database DB being imported or migrated from. See chart.
      Note: (Create as a STRING value "Upgrade Version" if not present in the registry) 


Please refer the following Table while setting the value for Upgrade version Key.
X indicates BE versions that can be upgraded from

 

Backup Exec
Name

Upgrade Version

2014

15

16

20

21

22

23

24

2014

14.1.1786.0 

 

X

X

X

       

15

14.2.1180.0

   

X

X

X

     

16

16.0.1142

     

X

X

     

20

20.0.1188

       

X

X

   

21

21.0.1200

         

X

X

 

22

22.0.1193

           

X

X

23

23.0.1250

             

X

 

NOTE:

To run a direct upgrade migration to Backup Exec 24 the minimum version required is Backup Exec 22.0

To run a direct upgrade migration to Backup Exec 23 the minimum version required is Backup Exec 21 (21.4 with Hotfix 279458)

To run a direct upgrade migration to Backup Exec 22 the minimum version required is Backup Exec 20.1

To run a direct upgrade migration to Backup Exec 21.x the minimum version required is Backup Exec 15

To run a direct upgrade migration to Backup Exec 20.x the minimum version required is Backup Exec 2014

 To upgrade to Backup Exec 15 or Backup Exec 16 from BE2010 R3, SP4 or later has to be installed


Note:
Do not upgrade to Backup Exec 15 or Backup Exec 16 from an earlier versions of Backup Exec that run on a 32-bit operating system. Installations of Backup Exec 15 or Backup Exec 16 on 32-bit operating systems is no longer supported.




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

  •   Run BEMIG.exe
  •  Wait for it to fully complete and return to a new prompt.

 

9. Start BE services and open the BE console.

Note 1 :  If the services fail to start, you may need to do additional steps of:-

  1. Stop the SQL(BKUPEXEC) service. Backup Exec 22 stop the SQL (BKUPEXEC64) service.
  2. Copy the BEDB database files from the Data folder to the desktop .
  3. Start the SQL(BKUPEXEC) service . Backup Exec 22 start the SQL (BKUPEXEC64) service.
  4. Run BEutility Copy Database to import the desktop BEDB files. This will correct any Environmental changes effecting the database.  
  5. Copy Database Document - www.veritas.com/content/support/en_US/article.100017867.html  

Note 2 : Job Logs (for jobs run prior to the migration) are not maintained inside the Backup Exec Database. If older jobs logs need to be accessible after the migration, then they have to be copied separately, however if Backup Exec is installed in a different path on the new server then you will not be able to open the copied job logs from within the Backup Exec Console itself (and will have to directly open the XML files to review them). Job Histories (which are kept inside the database) should still be accessible.

Note 3 : Due to how volumes are given new identifiers on new servers and how plug-n-play on the operating system will detect storage devices such as tape libraries, any storage devices used as targets for the backups will be seen as new devices after the migration. This does mean you may have to adjust the storage configuration within Backup Exec and also reconfigure the job definitions so that the jobs use the newly configured devices.

 

Additional Tool and Information:

Backup Exec Migration Assistant Information:
https://www.veritas.com/support/en_US/article.100041264

 

Backup Exec Migration Assistant Download:

https://www.veritas.com/content/support/en_US/downloads/update.UPD677033

 

Was this content helpful?