Technology Tips, Tricks, Hacks, News And Reviews.
There are a bunch of scripts on the Internet that overly complicate the issue of automatically backing up your database. Here is a PHP script I wrote to backup a mysql database and email the results. Just set a cron job (/etc/crontab) to run this script with the following command: php /…./dbBackUp.php
0 Responses to “Backup MySQL database using PHP”
Leave a Reply