TheBugSlayer
Programmer
Hi All.
I am asked to refresh the dev server with data from prod. I got a few objects in dev that are not in prod (principals, schemas, tables, sps, etc). This is how I plan to do it:
1- Import new dev tables into prod.
2- Script the entire dev database. Probably each object in a separate script file.
3- Backup dev.
4- Backup prod (this happens daily).
5- Restore the latest prod backup on dev recreating the database.
6- Recreate the objects in dev that are not in prod from the script in (2). This includes logins.
I believe something happens to the SIDs when you restore logins but don' t quite remember.
If you have any suggestions or know any better way I will be happy to hear them.
Thank you kindly.
MCITP SQL Server 2005, MCTS SQL Server 2008 (DBD, DBA)
I am asked to refresh the dev server with data from prod. I got a few objects in dev that are not in prod (principals, schemas, tables, sps, etc). This is how I plan to do it:
1- Import new dev tables into prod.
2- Script the entire dev database. Probably each object in a separate script file.
3- Backup dev.
4- Backup prod (this happens daily).
5- Restore the latest prod backup on dev recreating the database.
6- Recreate the objects in dev that are not in prod from the script in (2). This includes logins.
I believe something happens to the SIDs when you restore logins but don' t quite remember.
If you have any suggestions or know any better way I will be happy to hear them.
Thank you kindly.
MCITP SQL Server 2005, MCTS SQL Server 2008 (DBD, DBA)