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.
| Author |
Topic |
|
Mickoni
Starting Member
8 Posts |
Posted - 2007-06-12 : 07:51:00
|
| I have a full backup from ServerA. I then put ServerB in single user mode and try to restore the backup from ServerA. (both are identical servers but have different names)[*- From command prompt using sqlcmd -*]USE masterGORESTORE DATABASE master FROM DISK = 'D:\BACKUPS\serverA.bak'GOMsg 3154, Level 16, State 4, Server MSSQL1, Line 1The backup set holds a backup of a database other than the existing 'master' database.Msg 3013, Level 16, State 1, Server MSSQL1, Line 1RESTORE DATABASE is terminating abnormally.Any ideas on forcing the restore through T-SQL? The restore works fine from a master backup from itself (ServerB). |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-06-12 : 11:55:58
|
| Try add 'with replace' in your statement. |
 |
|
|
|
|
|