Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 database restore problem

Author  Topic 

sparrow37
Posting Yak Master

148 Posts

Posted - 2009-08-15 : 14:48:47
Hi all,

I have taken backup of my db from psoduction server using admin panel. I downloaded db.bak file and trying to restore it on my local system but getting following error.

TITLE: Microsoft SQL Server Management Studio Express
------------------------------

Restore failed for Server 'CHRISU\SQLEXPRESS'. (Microsoft.SqlServer.Express.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.3042.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Restore+Server&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

System.Data.SqlClient.SqlError: Directory lookup for the file "D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\IBAPTX.mdf" failed with the operating system error 3(The system cannot find the path specified.). (Microsoft.SqlServer.Express.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.3042.00&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------

How to solve this issue. Please help me on this.

Regards,
Asif Hameed

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2009-08-16 : 14:02:39
use the WITH MOVE option in your restore script.
Go to Top of Page
   

- Advertisement -