Contributions

Other (Category Index)
Search: 

Server Migration Orders / Customers Synchronisation

If you migrate server, there will be a period where you might be taking orders at both servers whilst your DNS changes propogate.

This leaves you with the problem of consolidating all of your order / customer information onto your new site.

This PHP script is designed to be run on your old server once you are sure propogation has fully completed.

You need to find the highest order number and customer number where the two sites are the same.

You also need to define how many new orders / customers you have on your new site. This is your offset amount.

To be safe, why not add another 50 to your offset just to be totaly sure you wont clash.

Expand All / Collapse All

Server Migration Orders / Customers Synchronisation 21 May 2008

If you migrate server, there will be a period where you might be taking orders at both servers whilst your DNS changes propogate.

This leaves you with the problem of consolidating all of your order / customer information onto your new site.

This PHP script is designed to be run on your old server once you are sure propogation has fully completed.

You need to find the highest order number and customer number where the two sites are the same.

You also need to define how many new orders / customers you have on your new site. This is your offset amount.

To be safe, why not add another 50 to your offset just to be totaly sure you wont clash.

Note: Contributions are used at own risk.