What is the best way to create a development database or a mirror of the live database? I scripted the database and files, but now that I'm trying to load the data from one DB to another(on the same server with same name but _dev suffix) using SSIS, but it fails while writing to the destination file, because the first column is an identity field. I can get it to work if I don't map that field, but I want it to be the same in both databases since it's the key that other related files are depending on - created with related transactions. I would like this to automatically refresh when needed and be a mirror of my live database.
Thanks in advance!!