Backup Exec Device and Media service fails to start with the message "Database specified does not exist"
Problem
Backup Exec Device and Media service fails to start with the message "Database specified does not exist"
Error Message
The Database Specified does not exist or cannot be found.
Cause
Solution
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.
HKLM\Software\Veritas\Backup Exec for Windows\ADAMM\
Check the Database Server Name key to verify the server name. ( The key will not be present if it's using a local BKUPEXEC64 instance. )
If the instance name has changed, then the Database Instance Name key will also have to be changed to the new instance name. If the source system used a named SQL instance but the target now uses a default instance, then the instance name should be removed from the instance name key.
Note: If the Managed Media Server is not sharing the database with the Central Administration Server, then changing this ADAMM key should not be necessary. It should point to the local server, which is the Managed Media Server.
- Open a command line window and connect to the Microsoft SQL Server instance
osql -E -S ServerName\BKUPEXEC64
1>
- To detach the Backup Exec database, type the following command (Figure 1) at the OSQL prompt:
1>EXEC sp_detach_db BEDB
2>Go

- To re-attach the database, type the following at the OSQL (1>) prompt (Figure 2)
1>EXEC sp_attach_db BEDB,
2>N'C:\Program files\Veritas\Backup Exec\Data\BEDB_dat.mdf',
3>N'C:\Program files\Veritas\Backup Exec\Data\BEDB_log.ldf'
4>Go

Try starting the Backup Exec services now.



