PHP Classes

MySQL PHP Dump: Generate MySQL backup of files with SQL

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2012-10-27 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 287 All time: 7,085 This week: 1,151Up
Version License PHP version Categories
mysql-php-dump 1.0GNU General Publi...3.0PHP 5, Databases, Systems administration
Description Author

This class can generate MySQL backup of files with SQL statements that can restore the database.

It can traverse the list of tables of a given MySQL database and generates SQL statements that can recreate the tables and the values of the respective records.

The generated SQL INSERT statements can insert up to 200 records at once.

The generated SQL statements of a table are stored in files, one for each table. The files are stored in a backup directory with a name that contains the current date.

The resulting directory and the contained files are stored in a ZIP file to take less disk space.

The class can also delete backup zip files older than 30 days.

Picture of Rey Ramos
Name: Rey Ramos <contact>
Classes: 2 packages by
Country: United States United States
Age: 34
All time rank: 2479306 in United States United States
Week rank: 1542 Up165 in United States United States Up

  Files folder image Files  
File Role Description
Plain text file mysql_php_dump Class mysql_php_dump

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,085
This week:1,151Up