I have not used DBCC but I knew of it and roughly what it would let me do. I have 4 or 5 databases that exist in two different environments, one live for users and one for development.
So now Im thinking about building a script that does the following for each of the DB's I want restored on my testing server.
- Connect to DB server (live)
- Perform a "copy only" backup
- Copy the backup to a dev server folder
- Connect to dev DB server and do a restore using the backup we just took
Anyone done something like this and care to share some tips?