Solved

Db restore failed

Posted on 2008-06-20
3
700 Views
Last Modified: 2009-03-27
Hi
I'm trying to restore a db from backup.

When I just tried, I got this message: "failed with the operating system error 21(The device is not ready.). (Microsoft.SqlServer.Smo)"

I restored a db without problems yesterday.

One thing that's changed is my PC's name, which changed that yesterday because of a conflict on the network.

Any idea what the problem is?

Thanks.
Co
0
Comment
Question by:Leprechaun
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 13

Expert Comment

by:rickchild
ID: 21832447
Sounds like you may have answered your own question, the change in PC name could have affected this, particularly if the backup is on the network.

Are you restoring from File or from Backup Device?
0
 
LVL 13

Accepted Solution

by:
rickchild earned 250 total points
ID: 21832475
See here:  http://www.sqlservercentral.com/Forums/Topic361087-357-1.aspx

By default it will try to restore to the last path, change this in Options Tab under Restore As.
0
 
LVL 15

Expert Comment

by:jorge_toriz
ID: 21913073
Verify if sql server has access to the physical path of this query:

RESTORE FILELISTONLY
FROM DISK = 'C:\YourBackup.bak'
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sql query 107 100
Anyway to make these 2 SQL statements into one? 13 46
Replace Dates in query 14 56
Applying Roles in Common Scenarios 3 42
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.

739 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