Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refresh Dev Data with Production Data

Status
Not open for further replies.

saw15

Technical User
Jan 24, 2001
468
US
I need to refresh the development data from production about once a week. Problem, is that there are mulitple id's created on the development side with differenct user id's & passwords.

I refresh the dev data by creating a backup of the production data, copying it over, and then restoring the backup.

This eliminates any and all of the different logins on the development db.

What is the best way to get around this? Recommendations appreciated, am a SQL Server newbie.
 
You should script the users. Then run the script after restoring the database.

The link provided by bperry is great if the users exist on the restored DB but are not synched with the logins on the development server. If the users don't exist, you need to create them. The easiest way to do that is through a script. Terry L. Broadbent - DBA
Computing Links:
faq183-874 contains "Suggestions for Getting Quick and Appropriate Answers" to your questions.
 
tb:
I had to read that three times to see what you were talking about. Now I get it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top