Developer forum

Forum » Development » Migrating from databaseserver A to databaseserver B

Migrating from databaseserver A to databaseserver B

Tom Kamphuis
Reply

Hi,

Recently we've taken over an account which has a ecommerce website on server A. We're planning to migrate website and database to our server (B) but the website is very frequently visited. As part of the migration I've come up with the following plan:

  • Restore database from server A to server B.
  • Setup website on server B, set connectionstring to database on server A.
  • Change DNS records to point to server B.
  • Close shoppingcart (is this possible??).
  • Copy all possibly added information (tables EcomOrders and EcomOrderLines for orders?) to the database on server B.
  • Change connectionstring for database.
  • Re-open shoppingcart (if possible)

Is this a migration plan that could work for Dynamicweb? Are there people who have different / better ways of migrating to a new server?

Thanks!
Tom


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Tom

It sounds like a valid plan. But closing the shopping cart is an implementation thing - you have to do it in the templates.

Remember to run a test and maybe also a performance test before switching to the new server. Also take the DNS latency into account - maybe have a temp domain for the first 24 hours and redirect the old server to the new one.

Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum