Login   Register  
PHP Classes
elePHPant
Icontem

MySQL PHP Dump: Generate MySQL backup of files with SQL

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 275 All time: 6,700 This week: 1,435Up
Version License PHP version Categories  
mysql-php-dump 1.0GNU General Public Lice...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: 32
All time rank: 2401299 in United States United States
Week rank: 1151 Up128 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  
 0%Total:275All time:6,700
 This week:0This week:1,435Up