Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Preparing to change host and need to make i dont lose anything


toyzonline

Recommended Posts

After experiencing enough sql timeouts to drive me crackers with Godaddy I want to prepare to move hosts but really don't want to lose any of the work I have done and my site. In my head the process seems simple but want to make sure that I haven't missed anything.

 

I have my database back up and site backup (that I do on a daily basis). If someone could look at the process as I seem it e below and let me know if it would work or have I missed anything?

 

1) Set up fresh install of OSC with passwords.

2) Overwrite with my backup of the modified files.

3) restore database with backup from previous full site.

 

Please tell me it aint much more than this....lol

 

Ricardo

 

 

Complete Newbie On The Learn - Not A Programmer

But Learning As I Go

Link to comment
Share on other sites

After experiencing enough sql timeouts to drive me crackers with Godaddy I want to prepare to move hosts but really don't want to lose any of the work I have done and my site. In my head the process seems simple but want to make sure that I haven't missed anything.

 

I have my database back up and site backup (that I do on a daily basis). If someone could look at the process as I seem it e below and let me know if it would work or have I missed anything?

 

1) Set up fresh install of OSC with passwords.

2) Overwrite with my backup of the modified files.

3) restore database with backup from previous full site.

 

Please tell me it aint much more than this....lol

 

Ricardo

 

Friendly suggestion, you should get your old site setup in your local computer as a backup first before you switch off your site and move to new host. You never know what is going to happen in between, if you have your backup running on your local server (there a lot of software such as xampp, it only take about 30 mins to set it up). First, you can test if your backup db works or not, also can see if your backup files works or not. Second, if your customers call in you still have place to look for your old orders info even the new server is not ready yet.

 

ken

 

ken

Link to comment
Share on other sites

You certainly want to make sure that you've saved all the data you need to, and in a usable form. I've heard of people getting the raw database files from their old host, and then asking how to set them up on the new one! You need to know how to back up both files and database, eyeball the backups to make sure they appear to be OK (at least, aren't empty and are the right format), and know how to properly restore them. Those skills will come in very handy should you ever need to make an unplanned site restore on the same or a different server.

 

The two configure.php files will need to be updated to show your new URL (if any), new account name, new database access information, new base path, etc.

 

If the fresh installation of osC is a NEWER version than the old one, you may need to migrate the old database too (add and change tables and fields to match the new DB schema). You may want to consider such a migration separately from the act of simply restoring the old store onto a new site.

Link to comment
Share on other sites

@@toyzonline Besides what others have said, you need to block the old site. Re-pointing a domain name can take up to 12 hours (the web authority says longer, though I've not seen that). But even if its an hour, if someone places an order on the old site while you are getting the new one setup, you will lose that data. So you should place an index file in the root saying you are down for maintenance and then rename the includes directory. If the account you have with godaddy uses cpanel, you may be able to use remote access to speed up the process but they are not very helpful with that. In my opinion, your new host should be handling the move for you. It always concerns me when a host doesn't do that. If they can't be bothered to do something that is easy for them and isn't an actual problem, what will they do when you have a real problem? Just my opinion, of course. 

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...