Solved

restore database failed

Posted on 2012-03-19
6
444 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
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…

729 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