Work at Home Forum - An online community of those who work from home.
Web Design and Hosting Work at Home Forum / Web Design and Hosting /

Script to automate your mysql database backups

Author Message
Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1322
#1 · Posted: 23 Jul 2005 00:32 · Edited by: Vishal P. Rao


I was looking around for a script to automate my mysql databases and I found this excellent script at:
http://sourceforge.net/projects/automysqlbackup/

What this script does is it automatically creates a daily, weekly and monthly backups of your mysql databases at a time interval specified by you. For those who have their site's data entirely on a database, like this forum, this script will prove to be boon. The best part is it even rotates daily/weekly backups, thereby deleting old backups and not unnecessarily waste your server space.

Many web hosts claim to take daily backups of your sites but I have learnt from experience that it's always advisable to create additional backups on your own to ensure double safety.

For this script to work, your web host should allow you to execute shell scripts and also allow "cron" jobs. Cron jobs is a feature of linux servers that allow you to execute scripts at a specified interval, either multiple times a day, daily, weekly or monthly. A shell/telnet access to your server is necessary, if you cannot specify cron jobs from your hosting control panel.

The command to include in the cron job is:
sh /location/of/the/script

Rest all instructions is provided in the script itself.

__________________
noboss
Forums Member
Joined: 3 Feb 2007
Posts: 14
#2 · Posted: 3 Feb 2007 16:48


Thanks!

advertising@noboss.com

cupbucket
Forums Member
Joined: 7 Jun 2008
Posts: 224
#3 · Posted: 15 Nov 2008 13:17


Way over my head!

__________________
The Best "All Round" Legitimate Online Business That I have Ever Seen
Your Reply
   :) ;) :-( ... Disable smilies

» Username  » Password 
Only registered users are allowed to post here. Please enter your login/password details upon posting a message, or sign up first.
Messages not conforming to the forum rules will not be approved or, deleted without any explanation.
Please do not post email addresses. If essential, obfuscate them (user [at] domain.com or something like that).
Please do not apply BOLD to entire post.
 


Page loading time (secs): 0.024

Custom Search
Member Ranking · Terms of Use · Privacy Policy · About Us · Contact Us · Support Us · Friends

© 2004-2011 Work at Home Forum. All rights reserved.