Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

restore database failed

Posted on 2012-03-19
6
Medium Priority
?
464 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

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

Accepted Solution

by:
QPR earned 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

916 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