I'm running SQL Server 2008, I want to create an entire copy of my Database, all my tables, views & stored procedures. How do I do that?
Ideally copy to a flat file or something like that then import on my new server.
I'm running SQL Server 2008, I want to create an entire copy of my Database, all my tables, views & stored procedures. How do I do that?
Ideally copy to a flat file or something like that then import on my new server.
Is this a one-time copy operation, or do you want it to be an ongoing replication of transactions to the destination server?
If it's the latter option, you can export and ship the transaction logs, which requires much less bandwidth per unit time than shipping a backup of the database. See this for details. I've had great success with this method using SQL Server 2008 R2 Express.
You can still use transaction logs if it's a one-time operation, but it may not be worth the up-front investment in time developing the scripts. In that case, see How to move databases between computers that are running SQL Server.