Home > Sql Server > Restore Database Sql Server 2005 Error 3154

Restore Database Sql Server 2005 Error 3154

Contents

I can delete my old database and then restore my backup with the right name, but when I was using SQL 2008, I had no problem restoring over an existing database. You cannot post events. Posted by: Cheap Computers Canada | Apr 1, 2010 1:56:57 AM I am quite sure they will learn lots of new stuff here than anybody else! share|improve this answer edited Jun 20 '13 at 16:25 answered Jun 20 '13 at 15:46 SQLFox 1,339919 add a comment| up vote 1 down vote You can still do this but http://peakappcare.com/sql-server/restore-database-is-terminating-abnormally-microsoft-sql-server-error-3154.php

Dave Love You…Reply peterstaci1972 November 13, 2015 11:31 pmThank you, it worked.Reply vara December 3, 2015 2:48 amHI, I am trying to a move/migrate a sql Server 2000 database from an when restoring instead of default files it gives force and change from silverstop.mdf to silverstop_store.mdf and xxx_log.ldf Tuesday, February 05, 2008 4:24 AM Reply | Quote 0 Sign in to vote Post another comment The letters and numbers you entered did not match the image. Algebraic objects associated with topological spaces. more info here

The Backup Set Holds A Backup Of A Database Other Than The Existing 'test' Database

share|improve this answer edited Dec 19 '12 at 11:54 answered Apr 18 '12 at 7:16 Amarnath 5,31042963 1 copied from the link & provided the link as well ..*sigh* (smart) If this is the case, move the files back to the original location and reattach the database, then run this in the query window. Why did the Ministry of Magic choose an ax for carrying out a death sentence? しっているはずです is over complicated? sql-server sql sql-server-2012 backup restore share|improve this question edited Jun 20 '13 at 15:51 Aaron Bertrand♦ 114k14199336 asked Jun 20 '13 at 15:21 Danielle Paquette-Harvey 3711310 migrated from stackoverflow.com Jun 20

I had manually moved the original files, I must remember not to do that in future. I deleted my existing databaseAnd on node "DataBase" I was directly Restored my dataBase without to have created previously my database Kindest Regards,degrem_mDegremont Post #325308 Wilko-290364Wilko-290364 Posted Wednesday, June 11, 2008 Try deleting the Fers_Production database you created and then do the restore of the backup file. Logical File Is Not Part Of Database Use Restore Filelistonly To List The Logical File Names open up SQL Server Configuration Manager (I am using SQL Server 2005) 2.

Please try again. If you're trying to create a new database out of a differential backup, no matter what you do you will encounter the error. Re-usability and courtesy .. :) –Amarnath Aug 24 '12 at 19:49 :) A Honest Software Er you are !Anyways, that's the best answer for this question. TSQL worked.

As I read in google that we can not restore it directly I followed the below steps. 1. System Data Sqlclient Sqlerror The Backup Set Holds A Backup Of A Database Other Than The Existing I performed by SQL 2000 backup and created a blank database FERS_Production in SQL 2005. Differential backup cannot be restored . You cannot edit your own topics.

The Backup Set Holds A Backup Of A Database Other Than The Existing Database Sql Server 2008 R2

Moreover the above mentioned technique is no doubt easy but is only for the programmers. https://www.thewebbureau.com/sql-server-error-3154-the-backup-set-holds-a-backup-of-a-database-other-than-the-existing-database Appreciate it.Reply Rahul July 22, 2015 2:15 pmRahulThanks for helping meReply Pinal Dave July 22, 2015 8:13 pmRahul - thanks for letting us know.Reply Salahuddin Warsi July 27, 2015 11:35 amThanks The Backup Set Holds A Backup Of A Database Other Than The Existing 'test' Database deleting folders with spaces in their names using xargs Are the off-world colonies really a "golden land of opportunity"? Cannot Be Overwritten. It Is Being Used By Database Generating a sequence of type T at compile time Where I can learn Esperanto by Spanish?

Limit Notation. http://peakappcare.com/sql-server/reporting-services-error-in-sql-server-2005.php Msg 3119, Level 16, State 1, Line 1 Problems were identified while planning for the RESTORE statement. Msg 3154, Level 16, State 4, Line 1The backup set holds a backup of a database other than the existing 'Fers_Production' database.Msg 3013, Level 16, State 1, Line 1RESTORE DATABASE is If you're given an hour, is it bad to finish a job talk in half an hour? Error 3154 In Sql Server 2014

How to adjust UI scaling for Chrome? Can One GFCI Serve Several Outlets Does dropping a Coursera course look bad in a PhD application to the university offering the course? Also I no longer have SQL 2000 installed so I cannot try to do a DTS copy which was another suggestion I came across. useful reference You cannot edit other topics.

Like so many solutions, elegantly simple once you know how.Reply Niru August 22, 2014 5:59 pmThanks it workedReply AlfonsoPeru September 22, 2014 3:43 amExcellent !!!! Directory Lookup For The File The Rule of Thumb for Title Capitalization If you're given an hour, is it bad to finish a job talk in half an hour? How to leave a job for ethical/moral issues without explaining details to a potential employer define set of sets Is the domain of a function necessarily the same as that of

you can not restore as usually.

Solution is very simple and not as difficult as he was thinking. However, you can get this error message despite this clause if you try to restore from a differential backup. Could IOT Botnets be Stopped by Static IP addressing the Devices? With Replace When I try to restore the backed-up database, I receive an error that says: TITLE: Microsoft SQL Server Management Studio ------------------------------ Restore failed for Server 'DBSERVER'. (Microsoft.SqlServer.SmoExtended) For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600.1+((KJ_RTM).100402-1540+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Restore+Server&LinkId=20476

It is referencing the source database .mdf and .ldf files. Than I deleted empty database & tried to restore the bak file, bak file created the database itself & restored it successfully.Reply usha November 30, 2014 2:31 pmBy doing above solution He was trying to restore the database on another existing active database.Fix/WorkAround/Solution:1) Use WITH REPLACE while using the RESTORE command. http://peakappcare.com/sql-server/raise-custom-error-in-sql-server-2005.php Very Helpful!!!!!Reply « Older CommentsLeave a Reply Cancel reply Pinal Dave is a technology enthusiast and an independent consultant.

Privacy statement  © 2016 Microsoft. Success! in the Logon tab - click the built in account radio button and choose 'Local system' from the drop down.

FROM DISK = 'd:\myfolder\TEST_FullBackup_20090823_2200.bak'WITH REPLACEORRESTORE DATABASE db_TestFROM DISK = You can use below mentioned command in T-SQL.

I'll try the command instead. –Danielle Paquette-Harvey Jun 20 '13 at 15:53 I just don't think the UI contains all of the possible permutations that are available in the DBA ran to me with this error just a few days ago while restoring the database.Error 3154: The backup set holds a backup of a database other than the existing database.Solution Right Click to Databases and select Restore Database .... 4. share|improve this answer answered Dec 1 '13 at 8:19 Altaf Patel 707922 add a comment| up vote 1 down vote Some of you have highly over complicated this.

The only difference between the databases names is "_tlog" in the name. Thanks Pinal Dave!Reply jerome November 4, 2015 3:56 pmThank you, It works and it helps me…Reply flameater December 23, 2015 4:37 pmFunny, this used to work but it doesn't anymoreReply flameater It has the files locked. You may download attachments.

And didn't we only start doing that pre-create in the first place as a workaround for some other inexplicable error message? :]) –Reg Edit May 12 '14 at 15:14 | show How to explain the concept of test automation to a team that only knows manual testing? Use 'Restore Database' option accessible by right clicking the "Databases" branch of the SQL Server Management Studio and provide the database name while providing the source to restore. Thank you sql-server-2008 share|improve this question asked Aug 13 '10 at 18:35 user208662 4,045215780 add a comment| 1 Answer 1 active oldest votes up vote 8 down vote accepted You should