Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Live SQL DB restore onto a new dB, right way?

$
0
0

Hi all,
I wonder if you can help unpick an issue..

So I have a database that needs it's data checked and some scripts run in test mode so that it doesn't do anything damaging to our live environment.

So I backup the database.
I then create an empty database with almost the same name, bar the word TEST at the end
I then restore the backup onto my Test dB checking the MDF and ldf files are the test ones, hit overwrite, check files again then start the restore.

I am told that this long winded way of doing a restore of live data into a test one is unusual and could be wrong, but not explained why..

Is the process I used to recreate our dB incorrect? What is different from right-clicking on databases- restore and creating a test dB at the point of restore? Does that mean that the previous method does not clone the live system well?

Many thanks for...


Viewing all articles
Browse latest Browse all 4871

Trending Articles



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