Welcome
Login  |  Register
Tuesday, January 06, 2009
  Search
You are here:Knowledge Base
 
 
 

 Please Register or login to view our private forums, it is free!!

Subject: WITH MOVE error on sql restore.
Prev Next
You are not authorized to post a reply.

Author Messages
cmuenchUser is Offline
Posts:59

05/31/2007 10:51 AM  
If you are getting the WITH MOVE error in a sql 2005 restore you can do the following.
[sql]
RESTORE FILELISTONLY FROM DISK = 'F:\BackUp\YourBaackUpFile.bak'
GO

Step 2: Use the values in the LogicalName Column in following Step.

--Restore Database
RESTORE DATABASE YourDB
FROM DISK = 'F:\BackUp\YourBaackUpFile.bak'
WITH MOVE 'YourMDFLogicalName' TO 'D:DataYourMDFFile.mdf',
MOVE 'YourLDFLogicalName' TO 'D:DataYourLDFFile.mdf'

GO
[/sql]

You are not authorized to post a reply.
Forums > Knowledge Base Systems > MSSQL > WITH MOVE error on sql restore.



ActiveForums 3.7
 
Copyright 2006-7 Vigilant Support