PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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,581 All time: 2,374 This week: 1,152Up
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: 38
All time rank: 451 in South Africa South Africa
Week rank: 198 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  
 0%Total:1,581All time:2,374
 This week:0This week:1,152Up
 User Ratings  
 All time