PHP Classes

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

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
StarStarStarStar 61%Total: 1,608 All time: 2,452 This week: 61Up
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: 47
All time rank: 471 in South Africa South Africa
Week rank: 53 Down1 in South Africa South Africa Equal
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files (2)  
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

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:1,608
This week:0
All time:2,452
This week:61Up
 User Ratings  
 
 All time
Utility:90%StarStarStarStarStar
Consistency:95%StarStarStarStarStar
Documentation:-
Examples:70%StarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:1034