Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Restore a production database into test

$
0
0

Hi

I have to restore a production database into our test environment, but before I overwrite the test databases I have to maintain a copy of the original test database and logfiles. The files must be renamed as "old_database.mdf" and "old_datbase_log.ldf" How can this best be done? Is it as simple as doing a detach and rename the files and then restore the database from production into test and then rename them from the production databasename to test database name?


Viewing all articles
Browse latest Browse all 12963

Trending Articles



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