Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

"The backup set holds a backup of a database other than existing database. Restore Database is terminating abnormally"

$
0
0

 

I have a problem when i restore my .DAT_BAK file.  I am getting error like "The backup set holds a backup of a database other than existing database.  Restore Database is terminating abnormally".

 

I tried by using

 

RESTORE DATABASE <DATABASENAME>

FROM DISK = 'D:\DATA\MYTEST.DAT_BAK'

WITH MOVE 'VZAI_DATA' TO D:\PROGRAM FILES\..\MSSQL\TEST.MDF',

MOVE 'VZAI_LOG' TO D:\PROGRAM FILES\..\MSSQL\TEST.LDF',

REPLACE

 

And also i tried like

 

RESTORE DATABASE <DATABASENAME>

FROM DISK = 'D:\DATA\MYTEST.DAT_BAK'

WITH REPLACE

 

When i use like this,

 

RESTORE FILELISTONLY FROM DISK = 'D:\DATA\MYTEST.DAT_BAK'. I am able to get the output as LogicalName, PhysicalName, Type, FileGroupName, Size, etc.

 

Can i anyone please help me out?

 

Thanks in Advance,

Anand Rajagopal


Viewing all articles
Browse latest Browse all 23857

Trending Articles