PHP Classes

MySQL PHP Dump: Generate MySQL backup of files with SQL

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 289 All time: 7,509 This week: 206Up
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: 42
All time rank: 2605359 in United States United States
Week rank: 164 Up23 in United States United States Up

  Files folder image Files (1)  
File Role Description
Plain text file mysql_php_dump Class mysql_php_dump

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:289
This week:0
All time:7,509
This week:206Up