Jump to content

Moving to a new server, best method to move IPS


Recommended Posts

Posted

Hello, I plan to move one of my websites to a new host.

What would be the best practice in moving IPS? should I just download all files from FTP and upload to the new one? a bit harsh since it is around 3gb.

What about MySQL database?

Please share some tips :smile:

Posted

I would zip the files on your existing server, then download that zip to your PC, then upload that to your new server. FTP takes ages when dealing with thousands of small files, due to connection delay, so you are better dealing with as few files as possible. Or, FTP that zip file direct, which would be the fastest way to do it.

For MySQL, go into phpmyadmin and create an export. Remember to compress it using one of the options. Then you simply import to your new server.

It sounds like you knew that already, but that's my simplistic view.

Posted

One item that was not mentioned and I experienced, is moving from a shared hosting environment to a dedicated or vps structure. If your mysql db is larger than 10 - 15 mb, they STRONGLY suggest you upload the db to a temporary directory, and then import it via SSH. Since we had 9 db's, this was very time consuming but I am glad I followed the guidance. There was no glitch.

files copied
mysql uploaded and then imported.
open url ... and bada bing, all functional (well, except for updating your upload image folders that have to be manually edited after you move your installation)

Posted

One item that was not mentioned and I experienced, is moving from a shared hosting environment to a dedicated or vps structure. If your mysql db is larger than 10 - 15 mb, they STRONGLY suggest you upload the db to a temporary directory, and then import it via SSH. Since we had 9 db's, this was very time consuming but I am glad I followed the guidance. There was no glitch.



files copied


mysql uploaded and then imported.


open url ... and bada bing, all functional (well, except for updating your upload image folders that have to be manually edited after you move your installation)




updating your upload image folders....

what do I need to do to make my life easier with uploaded images?
Posted

If you have ssh access to both, just use rsync to copy over all the data from old to new server. This way you can avoid the whole zipping, unzipping, downloading to computer, etc. Very fast.

If you have ssh access only to the new, make a backup file from your old (such as a zip), then use wget to retrieve that file from the new server. This way, you don't need to involve your own computer.

If you have no ssh access to either, you can attempt to request your new host to migrate the files for you.

Honestly, moving files to your own computer is the last resort.

Posted

ee_joseph, are both your current and new hosts using cPanel? If they are, use cPanel's backup tool to generate a full account backup. Then, give your new host the login details for your old account, tell them where to find the backup in it, and ask them to restore it. This will bring everything across to the new server exactly as it was. All that's left then is to update your domain's nameservers.

Posted

We have a server transfer guide available at http://community.invisionpower.com/resources/documentation/index.html/_/tutorials/conversions-server-transfers/server-transfers-without-ssh-access-r3

Posted

I did backup, used remote ftp to store the backup, rebuilt the current server (changed from directadmin to cpanel) and wget files back.
lot faster than ftp on my end, that takes all night.

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...