Backup MySQL using PHP

By | 2014-09-15

A PHP script for backing up your MySQL databases. Can easily be added to a cron job to have scheduled database backups made.

The PHP script below is based on the Back up Mysql database via PHP snippet found on DZone.com, but modified to suit my needs for versioning rather than creating a new filename every day.

 

Leave a Reply

Your email address will not be published. Required fields are marked *