Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

There is a production db in SQL Server. We still have development on this database and I want to create it's copy in every X day/week/month. Is there any job or something else what can make this on SQL Server?

Thanks in advance..

share|improve this question

migrated from stackoverflow.com Nov 22 '11 at 9:28

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer 1

Assuming you have backups, you could call RESTORE on the development database. You can do that from a SQL Agent job, or a scheduled task like a powershell script.

The restore wizard itself allows you to script a restore action, which can help to write out the full RESTORE statement.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.