Re: crontab
| From: | Joseph Szobody | Date: | Tue, 04 Mar 2003 21:20:12 +0000 |
| Subject: | Re: crontab | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-138174@lists.php.net to get a copy of this message | ||
> I want to run /var/www/backup_mysql.php
Are you just trying to backup your MySQL database? If so, check this out:
http://members.lycos.co.uk/wipe_out/automysqlbackup
Edit a view configuration variables (db to be backed up, path, etc), throw it in /etc/cron.daily,
and forget about it.
I does daily, weekly, and monthly backups. It overwrites the daily backups after seven days, so you
don't have a growing number of backups taking up HD space. It overwrites the weekly backups
after 5 weeks for the same reason. It never overwrites monthly backups.
I use it on several server. It works really well.
Joseph