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
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 error while restore database

Author  Topic 

ibharadia
Starting Member

2 Posts

Posted - 2012-11-12 : 11:48:45
hi guys,
have sql 2005 ent. Have a backup of the database and when i am trying to restore it, it brings up an error "the backup set holds a backup of a database other then the existing "xxxx" database"

Please assist

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2012-11-12 : 14:22:12
Use WITH REPLACE. Believe that'll eliminate the error. Might also need to use MOVE.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

ibharadia
Starting Member

2 Posts

Posted - 2012-11-13 : 00:32:58
Thanks tkizer. It worked.
Go to Top of Page
   

- Advertisement -