Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# jimmyfingers 10/27/2010 12:45 PM
Hi,

I was wondering if anyone happened to have a script for migrating an entire Cuyahoga website from one db server to another? We have a large website that's been developed in a test environment but now need to go live. But rather than manually adding all those hundreds of placeholders and doing a day of solid cut & paste of all the content, I was just wondering if there was a simple db script that could do the migration us?

Many thanks
# Monkeyface 10/27/2010 12:57 PM
Can't you just detach the database and reattach it on your new server?
# jimmyfingers 10/27/2010 2:27 PM
unfortunately not. We already have a number of existing live websites running off the live database. We want to maintain one code base and one database for all our websites for ease of manageability.
# modark 10/27/2010 9:08 PM (edited 10/27/2010 9:13 PM)
which database are you using?

what i always do is generate sql script for the database including data and run this script on the new database, in your case live database. the only thing you need to change is the siteurl in cuyahoga_site table.

sql server 2008 has a buildin script generator.
right click on database --> tasks --> generate script

# goolz 10/30/2010 12:20 PM
hey jimmy
You can use SQLDump, it's very helpful.

http://sqldump.sourceforge.net/
# Constructor 10/30/2010 2:25 PM
goolzhey jimmy
You can use SQLDump, it's very helpful.

http://sqldump.sourceforge.net/

This looks interesting, I will be checking this also.

I have also seen these alternatives (although they are commercial products).

http://www.sqlmanager.net/products/mssql/extract

http://www.sqlmanager.net/en/products#mssql
# martijnb 11/4/2010 10:00 PM
Or maybe the database publishing wizard from Visual Studio itself?