Search

Thursday, August 2, 2012

Error 3154 - The backup set holds a backup of a database other than the existing database.

Today when I was restoring database on SQL Server Management Studio, I got an error 
Error 3154- "The backup set holds a backup of a database other than the existing database".


Solution


After selecting the database backup, goto option Tab from the Left Hand Side Menu and click on First Restore Option i.e Overwrite the existing database(WITH REPLACE) as shown in screen below.

* Make sure that there is no database file exist at the path mentioned in RESTORE the database file as section with same file name otherwise it will replace those files.

1 comment:

  1. If you are facing error message 3154 while restoring SQL backup file then you can use SQL backup recovery tool to successfully restore SQL BAK file. http://www.sqlrecoverysoftware.net/blog/sql-server-error-3154.html

    ReplyDelete