Posts Tagged ‘database backup’

PHP: MYSQL Database Backup Email Attachment Solution

August 3rd, 2008

In this post I will describe a database backup solution that I’ve been using for some time. Here’s what happens: this PHP script calls mysql to do a db_dump — this gets dumped to a text file — then it zips all this information up as a gunzzip file, then it emails the txt.gz file as an attachment to a gmail account (where you have unlimited storage). Easy!
» More: PHP: MYSQL Database Backup Email Attachment Solution