MySQL Backup to Email
July 3rd, 2009
No comments
Image via CrunchBase
This simple PHP script can be used to backup MySQL databases and then send the zipped backup file to email addresses. The backup file can then be restored by any MySQL front end program like the mysql command line, Navicat MySQL, or phpMyAdmin.
The logic of the script is really simple:
- initialization
- create backup sql file
- zip the file
- send email



Recent Comments