ee_joseph Posted August 24, 2012 Share Posted August 24, 2012 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: Link to comment Share on other sites More sharing options...
craig1234 Posted August 24, 2012 Share Posted August 24, 2012 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. Link to comment Share on other sites More sharing options...
ee_joseph Posted August 24, 2012 Author Share Posted August 24, 2012 Yeah :) I just wanted to see if there is a better way of doing stuff :) Link to comment Share on other sites More sharing options...
TracyIsland Posted August 24, 2012 Share Posted August 24, 2012 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) Link to comment Share on other sites More sharing options...
ee_joseph Posted August 24, 2012 Author Share Posted August 24, 2012 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? Link to comment Share on other sites More sharing options...
Grumpy Posted August 24, 2012 Share Posted August 24, 2012 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. Link to comment Share on other sites More sharing options...
Feld0 Posted August 24, 2012 Share Posted August 24, 2012 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. Link to comment Share on other sites More sharing options...
Andy Millne Posted August 24, 2012 Share Posted August 24, 2012 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 Link to comment Share on other sites More sharing options...
Dmacleo Posted August 24, 2012 Share Posted August 24, 2012 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.