June 15th, 2009
In late January 2009, I made a post about a PHP script I developped to help GoDaddy users to backup their website. The script creates a “gzipped tarball” of all the files and directories in your GoDaddy account so you can download your entire website in a single file.
Unfortunately it seemed the backup script didn’t exclude the backup file itself from the archive. The latest version of the GoDaddy Backup Script should now exclude this file correctly.
Click here to download the PHP GoDaddy Backup Script.
Posted in News & Updates | 6 Comments
6 responses so far ↓
1. Response by : Kwasi on Jun 27, 2009 at 4:44 pm
I tried using your php script to get a backup of my files hosted on godaddy but it is not working for me. I changed the pw and uploaded it correctly to my root dir. Did I miss something that I may not be aware of?
2. Response by : The Web Hosting Hero on Jun 29, 2009 at 8:07 am
Hi Kwasi,
Please give me a little more details so I can help you out. What did you do exactly, what happened when, what is the size of your website, etc.
Stephane
3. Response by : Samer on Oct 31, 2009 at 3:00 pm
hello … Does this scrip work for my account on HostGator as a cronjob ?? does I need to change its code? or it is general php code ??
Thank you dear
4. Response by : The Web Hosting Hero on Nov 1, 2009 at 7:37 am
@Samer : please look at this post instead
http://www.thewebhostinghero.com/tutorials/cpanel-ftp-backup.html
5. Response by : sarabjeet on Aug 12, 2011 at 6:56 pm
i edited the password, uploaded it to root directory and then put my password, it gave me this error
GoDaddy Website Backup Tool
Warning: mkdir() [function.mkdir]: Permission denied in D:\Hosting\7958177\html\sitebackup.php on line 62
Error: Unable to create MySQL backup directory, please check permissions.
Warning: filesize() [function.filesize]: stat failed for ./fullsite_2011-08-12-16-52-25.tar.gz in D:\Hosting\7958177\html\sitebackup.php on line 75
Backup completed
Click here to download your backup (0Kb)
Any ideas why?
6. Response by : The Web Hosting Hero on Aug 15, 2011 at 9:17 am
@sarabjeet: Try creating a directory named “mysql-backup” at the root of your website. Set its permissions to 0777 (full write access).
Leave a Comment