Solved

Restore master, model, and msdb fails

Posted on 2007-11-16
3
3,004 Views
Last Modified: 2012-08-13
I'm attempting a full restore of one SQL 2005 Server to a new server.  I'm able to restore master without issue and then the trouble starts.  The paths are a little different, but I'm able to recreate the needed paths and use them with the new copy of master and have it come online.

I will paste the exact error below but want to qualify a couple of things.  First, I have tried this with two source servers now and two destination servers.  I thought perhaps my first attempt was a corrupt system either on the source or destination, but a completely separate environment produced identical results.  Second, I'm familiar with the process in SQL 2000.  I have done this literally a hundred times in SQL 2000 without issue.  This is my first attempt in SQL 2005.  Third, these are regular backups made by running BACKUP DATABASE model TO DISK = 'e:\hold\model.bak' and so on for the rest of the system db's.

My first step was to bring a SQL 2005 server online and upgrade to SP2, the same as my source servers.  I then created a backup of master, model, and msdb.  Then I turn to my new server, stop SQL, run SQL from the command line with -c -m -T3608.  Restore master goes fine and SQL stops.  I then start SQL with -c -T3608 and attempt to restore model and msdb.  Here's what I get:

For model:
Processed 144 pages for database 'model', file 'modeldev' on file 1.
Processed 1 pages for database 'model', file 'modellog' on file 1.
Msg 3283, Level 16, State 1, Line 1
The file "modellog" failed to initialize correctly. Examine the error logs for more details.
Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.

And msdb:
Processed 12256 pages for database 'msdb', file 'MSDBData' on file 1.
Processed 7 pages for database 'msdb', file 'MSDBLog' on file 1.
Msg 3283, Level 16, State 1, Line 1
The file "MSDBLog" failed to initialize correctly. Examine the error logs for more details.
Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.

Your help is greatly appreciated.  I've been arguing with Microsoft support for a week.  I'm not even sure they understand the problem.


0
Comment
Question by:BryanMI
3 Comments
 
LVL 10

Accepted Solution

by:
pai_prasad earned 500 total points
ID: 20301823
can u post the exact steps to restore for model and msdb?
r the paths for model and msdb diff from the one in backup?
did u look @ this

http://support.microsoft.com/kb/224071

>>Restore master goes fine and SQL stops
r u saying after the restore SQL aborts abrubtly or SQL doesnt restart ???

0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

708 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

15 Experts available now in Live!

Get 1:1 Help Now