PHP Classes

All DB Backup: Backup a database to SQL file using PEAR::DB

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2006-01-08 (10 years ago) RSS 2.0 feedStarStarStarStar 61%Total: 1,591 This week: 1All time: 2,389 This week: 1,095Up
Version License Categories
alldbbackup 1.0GNU General Publi...Databases
Description Author

This class can be used to take a backup of a database to a file with SQL statements that can be used to restore the database.

It can generate SQL statements that can be used to restore just the database table data or also the database table schema.

It uses the PEAR::DB abstraction layer to access the database, so in theory it can support many databases, although it has only been tested with MySQL.

Picture of Paul Scott
Name: Paul Scott <contact>
Classes: 14 packages by
Country: South Africa South Africa
Age: 39
All time rank: 461 in South Africa South Africa
Week rank: 203 Down1 in South Africa South Africa Equal
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example Script
Plain text file mysql_backup_class_inc.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:2,389
This week:1,095Up
 User Ratings  
 All time