Login   Register  
PHP Classes
elePHPant
Icontem

MySQL DB Backup: Generate backup files of large MySQL databases

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 (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-11-15 (4 years ago) RSS 2.0 feedStarStarStar 56%Total: 1,591 All time: 2,287 This week: 1,582Up
Version License PHP version Categories  
mysql_db_backup 1.1.0GNU General Public Lice...5.0.0Databases, Systems administration
Description Author  

The class can be used to create backup files of MySQL databases in the form of lists of SQL statements that can be executed to restore the database.

This is a new version of a class originally written by Vagharshak Tozalakyan to use much less memory.

It can store the backup data in compressed or uncompressed files directly, instead of concatenating the whole data in a text string, thus avoiding to use too much memory when taking backups of large databases.

It can also return the backup data as a single uncompressed string, but this way it may exceed the PHP memory limit.

Picture of Luis Arturo Aguilar Mendoza
Name: Luis Arturo Aguilar ... <contact>
Classes: 1 package by
Country: Mexico Mexico
Age: 34
All time rank: 162218 in Mexico Mexico
Week rank: 1763 Down21 in Mexico Mexico Down

  Files folder image Files  
File Role Description
Plain text file mysql_db_backup.class.php Class Mysql DB Backup class source
Accessible without login Plain text file execute_db_backup.php Example Example
Accessible without login Plain text file readme.txt Doc. Readme

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,591All time:2,287
 This week:0This week:1,582Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:50%StarStarStar
Examples:58%StarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1117