Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4532

Restore Backup (.bak) file to a different database on the same instance of SQL 2008

$
0
0

This should be a real easy question. Its more for reassurance but here goes. 

I am testing our backup procedure and I have backed up our primary production database. I want to now take that backup file and restore it to a test database I created. When I right click on the test database drill down to task and restore. I select restore database. Then I choose from device and select my .bak file. 

My question comes at this point. When I select options and overwrite database below that it says restore the database files as: .... Under this section it lists the name of the original database not the name of the test. My question is, will it know that I am writing to the Test database and restore to that location or do I actually need to select the test mdf and ldf files? I figure if it did try and write to the original production database that it would say its in use and give me some sort of error. I just want to confirm.

Thanks,


Viewing all articles
Browse latest Browse all 4532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>