PHP Classes

SQL Backup: RDBMS independent backup and restore SQL databases

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 56%Total: 3,047 All time: 1,197 This week: 149Up
Version License Categories
sqlbackup 1.0Custom (specified...Databases, Systems administration
Description 

Author

This class can be used to provide a backup and restore solution of SQL databases that can work with multiple database types.

It uses another database abstraction package to query the database table structure.

It extracts the data in the tables to generate a database backup file that contains in a list of SQL statements.

The restore process just reads the statements from the backup file and executes them.

The class can generate backups of the database with the whole data or just the database table structure.

This class is officially PHP 5 compatible.

Innovation Award
PHP Programming Innovation award winner
April 2006
Winner


Prize: One copy of the Maguma Workbench
Performing regular backups of vital information is a wise step that all systems administrators should take.

Databases are often the most important vital information container that Web sites must take regular backups.

There have been many backup solutions for PHP sites, but most of them support only MySQL.

This class provides a generic solution that can backup and restore SQL databases managed by several different RDBMS including MySQL and others. It uses a database abstraction layer to access the database to take backup independently of the RDBMS in use.

Manuel Lemos
Picture of Richard Munroe
Name: Richard Munroe is available for providing paid consulting. Contact Richard Munroe .
Classes: 22 packages by
Country: United States United States
Age: 73
All time rank: 112 in United States United States
Week rank: 312 Down38 in United States United States Down
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file class.SQLBackup.php Class Backup/Restore SQL Database
Accessible without login Plain text file example-backup.php Example Example of backup
Accessible without login Plain text file example-restore.php Example Example of restore
Accessible without login Plain text file license.txt Lic. Modified NetBSD license used here
Accessible without login Plain text file makedoc.sh Data Shell script generating the documentation.

Downloadsqlbackup-2006-06-12.zip 6KB
Downloadsqlbackup-2006-06-12.tar.gz
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
dm.DB Download .zip .tar.gz Provides database independent access Required
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,047
This week:0
All time:1,197
This week:149Up
 User Ratings  
 
 All time
Utility:82%StarStarStarStarStar
Consistency:82%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1725