How do I restore my SQL .bak file over the existing database?

344715 pts.
Tags:
.bak file
Data management and storage
SQL Database
Windows installation
How do I restore my SQL .bak file over the existing database? Do I need to delete what is there already? On a new Windows installation I need to restore our production SQL database from a .bak file. What steps do I need to take? Can I overwrite data or do I need to restore to a fresh database?

Software/Hardware used:
SQL

Answer Wiki

Thanks. We'll let you know when a new response is added.

You can just restore it over the existing database. When you have the restore window open, just check the Overwrite database check box on the advanced tab.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Rick Martinez
    You can add the "replace" in the sql like this: RESTORE DATABASE
    585 pointsBadges:
    report
  • ITKE
    [...] 7. Mr. Denny and RickMartinez helped us out: How do I restore my SQL .bak file over the existing database? [...]
    0 pointsBadges:
    report
  • ITKE
    [...] 1. RickMartinez and Mr. Denny helped us out trying to figure out how to restore a SQL .bak file over the existing database. [...]
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following