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:
Bala Krishna has an excellent writeup on how to use the cron job on godaddy and to avoid the permissions error.
- Hence create a shell script file called sitebackup.sh
- Copy and paste the following:
/bin/sh tar -cvvf /$HOME/html/fullsite.tgz .
- Save it.
- Upload to godaddy.
- Go into the control panel and locate the Cron Manager.
- 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.