ClintonK
asked on
How to recreate msdb for SBSMONITORING
After a recent recovery of a Windows 2008 SBS server from a failed hard disc, the SBSMONITORING msdb no longer exists as I suspect it was missed from all the backups.
How can this be recreated please?
Regards
How can this be recreated please?
Regards
ASKER
Using SQL Server Management Studio and looking at the instance of SBSMONITORING it appears to have lost connection to the physical files for the system databases. The SBSMonitoring database is visible and accessible. The physical files do exist as I can see them using Windows Explorer.
I've tried running the SQL 2005 install again as detailed in this article http://technet.microsoft.com/en-us/library/dd560614(v=ws.10) but that fails because it's already installed.
I suppose it's a repair I'm looking for.
I've tried running the SQL 2005 install again as detailed in this article http://technet.microsoft.com/en-us/library/dd560614(v=ws.10) but that fails because it's already installed.
I suppose it's a repair I'm looking for.
There's really no need to repair the existing monitoring database... just recreate it (you would have to delete the old one first though). If you note at the bottom of that article I suggested above there is a link to this article:
http://blogs.technet.com/b/sbs/archive/2011/08/22/how-to-recreate-the-sbsmonitoring-database.aspx
Jeff
TechSoEasy
http://blogs.technet.com/b/sbs/archive/2011/08/22/how-to-recreate-the-sbsmonitoring-database.aspx
Jeff
TechSoEasy
ASKER
Yes, I tried that but it didn't rebuild or reconnect the system databases - probably just SBSMonitoring.
I'm not understanding what you mean by that last comment.
Jeff
TechSoEasy
Jeff
TechSoEasy
ASKER
Sorry, not very clear.
When I connect to SBSMonitoring using Server Management Studio and then look at msdb under System Databases I would expect to be able to expand it to show tables, views etc. All I get in the SBSMonitoring instance is just msdb with no "+" sign next to it to expand.
Looking again I discover that the msdbdata.mdf and msdblog.ldf files aren't in the filesystem as I thought they were so I think it's these I need to recreate.
When I connect to SBSMonitoring using Server Management Studio and then look at msdb under System Databases I would expect to be able to expand it to show tables, views etc. All I get in the SBSMonitoring instance is just msdb with no "+" sign next to it to expand.
Looking again I discover that the msdbdata.mdf and msdblog.ldf files aren't in the filesystem as I thought they were so I think it's these I need to recreate.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The key to fixing this problem was to restore the msdb mdf and ldf files from a new SQL instance. I had already run the recreate from http://blogs.technet.com/b/sbs/archive/2011/08/22/how-to-recreate-the-sbsmonitoring-database.aspx
Many thanks for the input
Many thanks for the input
http://technet.microsoft.com/en-us/library/dd560614(v=ws.10)
Jeff
TechSoEasy