I am going to create integration tests for my application. I want that my integration tests will be executed not in production DB. I want that before test execution begin, my continues integration server (team city) creates copy of my database and integration tests will be executed on it. Any approaches or best practicies ?
EDIT:
I would like to automatizate this process (any links to articles or forums).
Here are the steps that I would do
Since you are using SQL Server, this is fairly easy to do using SSIS.
Steps:
To learn about SSIS, a good book is SQL Server Integration Services Step By Step by Microsoft Press.
Good forums for SQL Server