Auto MYSQL Backup - 05/11/2002 12:25 AM
Hello folks,
didn't see anything to do this so I wrote a small script that automatically dumps the database to a file.
you just need to download attachment, rename to PHP, edit and replace path to mysqldump, backup folder and format of filename.
Then simply copy to your admin folder and call it from there.
don't forget to create the backup dir for added security I made mine above webroot.
this file can also be called by cron.
Feedback is welcome
Cheers
Charles
didn't see anything to do this so I wrote a small script that automatically dumps the database to a file.
you just need to download attachment, rename to PHP, edit and replace path to mysqldump, backup folder and format of filename.
Then simply copy to your admin folder and call it from there.
don't forget to create the backup dir for added security I made mine above webroot.
this file can also be called by cron.
Feedback is welcome
Cheers
Charles