May 31, 2010 at 11:47 am
My client provided me a backup of sql server 2005 database and while i am trying to restore the same on my win2003 machine getting below error
TITLE: Microsoft SQL Server Management Studio
------------------------------
Restore failed for Server 'SMARTHOM\SQLEXPRESS'. (Microsoft.SqlServer.Smo)
------------------------------
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
The backup set holds a backup of a database other than the existing 'EpitomeRAC' database.
RESTORE DATABASE is terminating abnormally. (Microsoft SQL Server, Error: 3154)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.4053&EvtSrc=MSSQLServer&EvtID=3154&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------
May 31, 2010 at 12:03 pm
I've never had that error, but I'd ask how big the restored file is because you're limited to 4Gb after the restore is complete.
After comming up dry with google search I'd ask the client to take another backup (to which I'd supply the command to make sure there's no problem) and then you should be good to go.
May 31, 2010 at 2:33 pm
Are you trying to restore over the existing EpitomeRAC database? Do the logical filenames match?
Please supply the restore command you used.
---------------------------------------------------------------------
June 1, 2010 at 11:27 am
You're trying to restore the database over an existing database. It appears that you are using the GUI, so in this case, you need to choose the option to overwrite the existing database. If using TSQL, you have use the REPLACE option.
June 1, 2010 at 3:40 pm
is the backup they have sent you definitely a full backup? Post the results of the following query
restore headeronly from disk = 'drive:\path\backupfilename.bak'
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉
June 9, 2010 at 3:33 am
Restore Data With New Name
==============
RESTORE DATABASE Business_Data_TSQL
FROM DISK='d:\Business_Data.bak'
WITH
MOVE 'Business_Data' TO 'D:\TSQL\Business_Data.mdf',
MOVE 'Business_Data_log' TO 'D:\TSQL\Business_Data_log.ldf'
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply