[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2017
  • Last Modified:

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
0
ClintonK
Asked:
ClintonK
  • 5
  • 3
1 Solution
 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
Just follow the steps in the SBS 2008 Repair Guide:
http://technet.microsoft.com/en-us/library/dd560614(v=ws.10)

Jeff
TechSoEasy
0
 
ClintonKAuthor Commented:
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.
0
 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
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
0
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
ClintonKAuthor Commented:
Yes, I tried that but it didn't rebuild or reconnect the system databases - probably just SBSMonitoring.
0
 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
I'm not understanding what you mean by that last comment.

Jeff
TechSoEasy
0
 
ClintonKAuthor Commented:
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.
msdbLooking 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.
0
 
ClintonKAuthor Commented:
I think I've fixed it.
I installed a new SQL instance called "Junk" and then copied the msdb files over to the SQL data directory for SBSMonitoring and then restarted SBSMonitoring. I then ran the script detailed in the article http://blogs.technet.com/b/sbs/archive/2011/08/22/how-to-recreate-the-sbsmonitoring-database.aspx which has recreated the SBSMonitoring database. It all looks a lot happier now. I will see over the next few hours or so if the database is populated.
0
 
ClintonKAuthor Commented:
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
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now