Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dev version of Production data (Simple question I thought)
Message
From
23/01/2006 12:05:03
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Database management
Title:
Dev version of Production data (Simple question I thought)
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01089423
Message ID:
01089423
Views:
78
I have an sql database and I want to make a duplicate database and use it for the Dev copy.

For example my database might be Joel_Prod and that would make the actual data files joel_prod_data.mdf and joel_prod_log.ldf

Now I want a development version to work on. I create database joel_dev.

I then do a backup of Joel_prod, then open Joel_dev and try to do a restore, but it will try to restore to Joel_prod even though I have Joel_dev open.

Can I just copy the Joel_prod mdf & ldf then change their name?

Can I take a backup of Joel_prod and change the name of the backup to Joel_dev?

I want to same data and stored procedures in the dev version that are in the Prod version, but I do NOT want to mess up the PROD data.

It SOUNDS simple, but does not seem to work for me.
Next
Reply
Map
View

Click here to load this message in the networking platform