Solved

restore database failed

Posted on 2012-03-19
6
435 Views
Last Modified: 2012-03-19
I am trying to restore a back up into a new database that I just created. it gave me this message. Is there anything I am missing?

The backup set holds a backup of a database other than the existing (Restore failed
0
Comment
Question by:shpresa
  • 3
  • 3
6 Comments
 
LVL 29

Expert Comment

by:QPR
ID: 37739997
try to do a restore filelistonly to see what the backup contains.
Also, can you show the syntax you are using to do the restore
0
 

Author Comment

by:shpresa
ID: 37740008
First I see two diffferent files in there..one is . trn and the other .bak

is there a difference?

what about the overwrite with replacement under options..do I need to check that?
0
 
LVL 29

Expert Comment

by:QPR
ID: 37740020
The .bak is the full backup, the .trn is a backup of the transaction log.
You need to check overwrite the existing database.

What did you select initially, backup from database or backup from device?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:shpresa
ID: 37740034
from device.
Thanks
0
 
LVL 29

Accepted Solution

by:
QPR earned 500 total points
ID: 37740052
Make sure overwrite existing is checked
0
 

Author Comment

by:shpresa
ID: 37740066
it worked just fine...thanks a lot for the help. appreciate it.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question