TheBugSlayer
Programmer
Hi guys,
I had an assignment to refresh the dev server with data from prod. So I created and tested my scripts accordingly. My idea is to set all non-system databases offline on the Prod server, copy the data and log files to a different location, turn back the prod databases on, then attach the databases from the location to the dev and do some tweaking on dev where necessary. Simple, right? However, in the process of copying the files, some datatabase files completely disappear from the source (Prod data and log folger)!
The questions are: why does that happen? What is the best way to copy such big files.
BTW, I was never able to copy the biggest files, which is 360 GB; I would get an error pertaining to not having enough resources to complete the operation or something like that. The net admin had mention to create an image of the prod data folder with a special program (something like Ghost), but I told him not to worry because I would have to either set the DBs offline or detach them, so he went on his merry way...
Thanks for your help.
MCP SQL Server 2000, MCTS SQL Server 2005, MCTS SQL Server 2008 (DBD, DBA)
I had an assignment to refresh the dev server with data from prod. So I created and tested my scripts accordingly. My idea is to set all non-system databases offline on the Prod server, copy the data and log files to a different location, turn back the prod databases on, then attach the databases from the location to the dev and do some tweaking on dev where necessary. Simple, right? However, in the process of copying the files, some datatabase files completely disappear from the source (Prod data and log folger)!
The questions are: why does that happen? What is the best way to copy such big files.
BTW, I was never able to copy the biggest files, which is 360 GB; I would get an error pertaining to not having enough resources to complete the operation or something like that. The net admin had mention to create an image of the prod data folder with a special program (something like Ghost), but I told him not to worry because I would have to either set the DBs offline or detach them, so he went on his merry way...
Thanks for your help.
MCP SQL Server 2000, MCTS SQL Server 2005, MCTS SQL Server 2008 (DBD, DBA)