Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

copy production sql database to a new development instance on the same server

$
0
0

I recently released to production a working CRUD site on a WS 2012 Datacenter. Now, I seek to copy an instance of the live database into a second instance on the same server in order to continue development without fouling up the production site. I found some similar threads but the differences were enough that these did not work.

I need to do this twice. Once for the "data" and again for the "security" databases. My security database is the VS auto-generated roles/membership which by default is called ASPNETDB.MDF. My data file is named Intake_be.

I want the new files to be named Intake_dev and Intake_security. Both sites can utilize the same roles/membership file. The live production site does not yet have controlled access enabled. Since other sites will be hosted on this server, I want the ASPNETDB.MDF to have a friendly yet specific name.

Thanks in advance.

Kurt


Viewing all articles
Browse latest Browse all 7129

Trending Articles



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