Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Web Hosting Services

Notices

Reply
 
Thread Tools
  #1  
Old 12-25-2007, 11:53 AM
lipofuse lipofuse is offline
Hatchling Croc
 
Join Date: Sep 2007
Posts: 4
Default Backup of website?

Hi,

Is there anywhere we can turn on in Cpanel to perform daily backup of our website/mySQL databases? Am quite worried that accidents will result in total lost of customer databases. I tired cron jobs but it seems that my cron jobs stop running after a while. even if i set to run daily. I only get the email on the first day and none on the following days.
Reply With Quote
  #2  
Old 12-25-2007, 12:08 PM
Sam Sam is offline
Emperor Croc
 
Join Date: Jan 2007
Location: /bin/false
Posts: 3,057
Default Re: Backup of website?

There is no function in cPanel that will backup your site automatically.. you would need to find a script that would do it and then run it on a cron.
Reply With Quote
  #3  
Old 12-25-2007, 12:10 PM
GvilleRick's Avatar
GvilleRick GvilleRick is offline
Emperor Croc
 
Join Date: Jan 2007
Location: Greenville, SC
Posts: 3,130
Default Re: Backup of website?

I've used a program in the past called dbsender.php that will create the backup and send it to an email address. It worked pretty well to backup databases.
Reply With Quote
  #4  
Old 12-25-2007, 06:46 PM
othellobloke othellobloke is offline
Banned User
 
Join Date: Mar 2006
Location: Kenora, Ontario
Posts: 708
Default Re: Backup of website?

This works PERFECTLY for me at work with 60+ domains. Let me know if you need help configuring it.

http://forums.hostgator.com/showpost...&postcount=225
Reply With Quote
  #5  
Old 02-08-2008, 12:05 PM
Quarterbore Quarterbore is offline
Hatchling Croc
 
Join Date: Jan 2008
Location: Valley Forge PA
Posts: 16
Default Re: Backup of website?

This is how I do it...

http://www.vbclassified.com/showthread.php?t=241

This uses the CRON tab so I have daily backups going back 1-week and then I have an archive folder with an archive copy for twice a month.

For my critical business databases, I do three backups a day each saved with a different name (db-early, db-day, db-evening).

If you ever have a database crash, you will really regret not having taken the few minutes it takes to learn how to do this and with the CRON it is so darned easy!
Reply With Quote
  #6  
Old 02-09-2008, 11:49 PM
jratliff jratliff is offline
Hatchling Croc
 
Join Date: Feb 2008
Posts: 3
Default Re: Backup of website?

Quarterbore,

Thanks for that link, that is great information.

Jamie
Reply With Quote
  #7  
Old 02-10-2008, 09:48 PM
hcacree hcacree is offline
Swamp Croc
 
Join Date: May 2007
Posts: 276
Default Re: Backup of website?

Quarterbore,

Does mySQL have transaction logs that can be copied?

It seems that your really pounding the servers doing full database backups during the day. It just seems that a fullback during the day would bog down the server when folks are trying to use the site. Of course it depends on database size and so on.
Reply With Quote
  #8  
Old 02-16-2008, 08:05 PM
Serra's Avatar
Serra Serra is offline
Veteran Croc
 
Join Date: Feb 2005
Location: Orange Park, FL
Posts: 5,073
Default Re: Backup of website?

Quote:
Originally Posted by hcacree View Post
Quarterbore,

Does mySQL have transaction logs that can be copied?

It seems that your really pounding the servers doing full database backups during the day. It just seems that a fullback during the day would bog down the server when folks are trying to use the site. Of course it depends on database size and so on.
My sql dumps are very processor friendly. Backups of files really slam the processor, but databases can be dumped several times a day without any issues. (Provided that the dump isn't HUGE. There is a point where dumping the whole database can be a bit much. In those cases, the dump should just dump the newer stuff.)
__________________
Six stages of Dedi Ownership

Fashionable broken link
image included
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 05:30 AM.