Solved

Restore master, model, and msdb fails

Posted on 2007-11-16
3
3,013 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Divide by zero error encountered. 2 43
Move SQL 2005 Express to Server 2012R2 19 142
Addition to SQL for dynamic fields 6 47
Are triggers slow? 7 10
There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
In this article I will describe the Copy Database Wizard 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.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

808 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