browser icon
You are using an insecure version of your web browser. Please update your browser!
Using an outdated browser makes your computer unsafe. For a safer, faster, more enjoyable user experience, please update your browser today or try a newer browser.

Site migration

Posted by on June 16, 2013

This week has been an interesting week.  My buddy whose account we were using decided he wanted to change hosting company from Bluehost.com to ipage.com.  So I gave it a shot since I was getting free hosting.  My issue was that my personal site, besides this blog, is about 10gb without the zip files.  Ftp-ing the files down to the local machine and back up to ipage was a pain in the rear and I kept running into issues.  Long story short, neither of us liked ipage so we ended up getting a new Bluehost account.

The challenge I ran into was using ssh and putty.  It’s been a very long time since I’ve played with unix or vax so I can’t remember the syntax.  With the help of one of my other buddies, I use the tar command “tar -cvzf filename.tar.gz” to zip the file up.  I also discovered something interesting while I was trying to transfer my 10gb file.  Bluehost has a one hour timeout for the ftp session for a share ip and two hours timeout for a dedicated ip.  For 10gb, it takes close to two hours so after an hour I’d was stuck with a 6gb file and the rest never came through.  I finally use the split command to split up my massive file, ftp’ed that over and then use the cat command to put it back together.  The site is almost 100% complete.  I have a few files left that I have to move to the correct directory.

Btw, I have to say, it is soooo much faster to use the SSH and putty to directly move the files from server to server.  When I was downloading the files and then uploading them back to the new house, it was taking about 18 hours.

Hopefully someone reading this will find it useful.  If you get stuck, please feel free to email me or post a comment and I’ll do my best to get you through it.

Leave a Reply

Your email address will not be published. Required fields are marked *


*