Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem Using restore to create a copy of a database
Message
 
 
To
21/03/2012 12:13:37
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01538918
Message ID:
01538919
Views:
32
>Hi
>
>I'm having a problem restoring a database
>
>I've amended some data in a database to set up a testing scenario and then backed up that database.
>
>I'm now trying to create a copy of the test data by creating a new empty database and restoring from the backup into it.
>
>When I try to restore (in managment studio) I am selecting Overwrite the existing database (With Replace).
>
>But I still get the message
>
>The backup set holds a backup of a database other than the existing ''test_x' database.
>RESTORE DATABASE is terminating abnormally. (Microsoft SQL Server, Error: 3154)
>
>any ideas what I could be doing wrong .
>
>Thanks

Try scripting the restore operation and post the generated script for inspection. May be the error will be clearer.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform