PHP Classes

Compare two MySQL Backups and output changes to a file: Generate and compare backups of MySQL databases

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 548 All time: 5,508 This week: 135Up
Version License PHP version Categories
compare-mysql-backup 0.1GNU General Publi...5.0PHP 5, Databases, Systems administration


This package can be used to generate and compare backups of MySQL databases.

There is one class that can generate a backup of a MySQL database by dumping SQL statements that can be used to recreate the tables and records of a MySQL database.

Another class can parse and compare two MySQL backups generated by the other class and generate another dump of SQL statements that can be used to recreate one backup from the tables and data in the other backup.

Picture of ubaidullah khan
Name: ubaidullah khan <contact>
Classes: 2 packages by
Country: Pakistan Pakistan
Age: 44
All time rank: 83810 in Pakistan Pakistan
Week rank: 389 Up9 in Pakistan Pakistan Up

  Files folder image Files  
File Role Description
Plain text file base.class.php Class this class compare two MySql backups and output changes into third file
Accessible without login Plain text file example.php Example example file
Accessible without login Plain text file firstbackup.sql Output first backup file
Plain text file mysql_backup.class.php Class this class is used to take backups
Accessible without login Plain text file secondbackup.sql Output secnod backup file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,508
This week:135Up
User Comments (2)
very good and helpful script
12 years ago (saba khan)
Very well structured, fast and with an easy to use example.
12 years ago (flavio junior)