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..

link|improve this question
feedback

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

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

1 Answer

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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