Click here to Skip to main content
15,891,865 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm using this query to restore the database.

SQL
RESTORE DATABASE yy
FROM DISK = 'E:\dddd\db\db.bak'
WITH MOVE 'Final_Data' TO 'C:\Program Files\Microsoft SQL Server\MSSQL\DATA\yy.mdf',
MOVE 'Final_Log' TO 'C:\Program Files\Microsoft SQL Server\MSSQL\DATA\yy_1.ldf', recovery


But this give me an error "The file on device 'E:\dddd\db\db.bak' is not a valid Microsoft Tape Format backup set."
Posted
Updated 11-Sep-11 23:44pm
v2

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900