Solved

SQL 'model'DB retore is locked.

Posted on 2013-10-28
5
179 Views
Last Modified: 2013-11-01
I have a SQL Server showing that the 'Model' database is (Restoring).  However it appears to be locked and failed as it won't complete.  Does anyone know what will happen if I reboot the server while the 'Model' Database is in this condition?

I do have good backups of it in my Backup Software (Networker)

But the question is, will SQL restart if the 'Model' database is corrupt.  or is the 'Model' a requirement and will cause SQL not to start?
0
Comment
Question by:dbonis77
5 Comments
 
LVL 15

Expert Comment

by:Ess Kay
ID: 39606676
sql will start
0
 
LVL 32

Expert Comment

by:Big Monty
ID: 39606716
the model database is just one of the example databases that comes pre-loaded with sql server. it is not a requirement to have it to run sql server, it is there just for demo purposes...
0
 

Author Comment

by:dbonis77
ID: 39606857
The confusion or question is that other posts we see, say that Model is the 'template' db abnd is required (is this new to 2008)?
0
 
LVL 32

Accepted Solution

by:
Big Monty earned 250 total points
ID: 39606870
my apologies, i totally misread your question...the MODEL database is required, as it contains all of the settings for new databases that are created:

http://technet.microsoft.com/en-us/library/ms186388.aspx

sql will start if you reboot, you just won't be able to create any new databases until you do a restore on the model database
0
 
LVL 69

Assisted Solution

by:ScottPletcher
ScottPletcher earned 250 total points
ID: 39606930
Don't just restart SQL Server -- that won't properly end the restore and could prevent the instance from starting, since model is required to start an instance.

Look in the error log and see if there's an error message relating to "model" and/or a db restore.

If you have a known good backup of model, you can (try to) cancel the existing restore and restore the known backup yourself.

For more details, it would help to know the specific version of SQL: 2005, 2008, etc.??
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Performance is the key factor for any successful data integration project, knowing the type of transformation that you’re using is the first step on optimizing the SSIS flow performance, by utilizing the correct transformation or the design alternat…
Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now