Solved

restore database failed

Posted on 2012-03-19
6
423 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:shpresa
Comment Utility
from device.
Thanks
0
 
LVL 29

Accepted Solution

by:
QPR earned 500 total points
Comment Utility
Make sure overwrite existing is checked
0
 

Author Comment

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

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Analysis of table use 7 26
Write a function 5 24
SQL 2012 and SQL 2014 in memory database 11 28
Row-Level Security 2 15
Creating and Managing Databases with phpMyAdmin in cPanel.
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now