Monthly Archive for December, 2008

Godaddy Full Website Backup on a Shared Hosting Account

I had been grappling with this problem since there is no straight forward backup website button in the godaddy’s control panel. PHP scripts seem to run into script timeouts or http timeouts because of the mammoth size of the website.

Heres the solution with help and information from:
http://www.bala-krishna.com/permission-denied-error-with-godaddy-cron-job

Bala Krishna has an excellent writeup on how to use the cron job on godaddy and to avoid the permissions error.

  1. Hence create a shell script file called sitebackup.sh
  2. Copy and paste the following:
    /bin/sh tar -cvvf /$HOME/html/fullsite.tgz .
  3. Save it.
  4. Upload to godaddy.
  5. Go into the control panel and locate the Cron Manager.
  6. Add a new Cron Job and Browse for the script you uploaded.

The backup should be created in the root of your web folder accessible via FTP or the web.

A technology unrelated post (Food and Games)

A good friend of mine recently opened a games cafe at 2nd Avenue, so if you are residing in Singapore and looking for a nice quiet place to hang out and have fun with your friends, head down to Bukit timah 2nd Avenue and look for a place called Munch Kings and Queens.

They are similar to the popular minds cafe and serve food and a great array of board games. The food and atmosphere has a nice homely touch to it. Just remember to bring cash as they don’t accept cards at the moment.

Flyer